diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index 7a0611dd3e2..8649d4e0f4c 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5329,7 +5329,7 @@ static struct Lisp_Hash_Table * | |||
| 5329 | purecopy_hash_table (struct Lisp_Hash_Table *table) | 5329 | purecopy_hash_table (struct Lisp_Hash_Table *table) |
| 5330 | { | 5330 | { |
| 5331 | eassert (NILP (table->weak)); | 5331 | eassert (NILP (table->weak)); |
| 5332 | eassert (table->pure); | 5332 | eassert (table->purecopy); |
| 5333 | 5333 | ||
| 5334 | struct Lisp_Hash_Table *pure = pure_alloc (sizeof *pure, Lisp_Vectorlike); | 5334 | struct Lisp_Hash_Table *pure = pure_alloc (sizeof *pure, Lisp_Vectorlike); |
| 5335 | struct hash_table_test pure_test = table->test; | 5335 | struct hash_table_test pure_test = table->test; |
| @@ -5346,7 +5346,7 @@ purecopy_hash_table (struct Lisp_Hash_Table *table) | |||
| 5346 | pure->index = purecopy (table->index); | 5346 | pure->index = purecopy (table->index); |
| 5347 | pure->count = table->count; | 5347 | pure->count = table->count; |
| 5348 | pure->next_free = table->next_free; | 5348 | pure->next_free = table->next_free; |
| 5349 | pure->pure = table->pure; | 5349 | pure->purecopy = table->purecopy; |
| 5350 | pure->rehash_threshold = table->rehash_threshold; | 5350 | pure->rehash_threshold = table->rehash_threshold; |
| 5351 | pure->rehash_size = table->rehash_size; | 5351 | pure->rehash_size = table->rehash_size; |
| 5352 | pure->key_and_value = purecopy (table->key_and_value); | 5352 | pure->key_and_value = purecopy (table->key_and_value); |
| @@ -5410,7 +5410,7 @@ purecopy (Lisp_Object obj) | |||
| 5410 | /* Do not purify hash tables which haven't been defined with | 5410 | /* Do not purify hash tables which haven't been defined with |
| 5411 | :purecopy as non-nil or are weak - they aren't guaranteed to | 5411 | :purecopy as non-nil or are weak - they aren't guaranteed to |
| 5412 | not change. */ | 5412 | not change. */ |
| 5413 | if (!NILP (table->weak) || !table->pure) | 5413 | if (!NILP (table->weak) || !table->purecopy) |
| 5414 | { | 5414 | { |
| 5415 | /* Instead, add the hash table to the list of pinned objects, | 5415 | /* Instead, add the hash table to the list of pinned objects, |
| 5416 | so that it will be marked during GC. */ | 5416 | so that it will be marked during GC. */ |