aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdumper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdumper.c')
-rw-r--r--src/pdumper.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index af451920eb6..4d8a20c741f 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -2412,7 +2412,7 @@ dump_symbol (struct dump_context *ctx,
2412 Lisp_Object object, 2412 Lisp_Object object,
2413 dump_off offset) 2413 dump_off offset)
2414{ 2414{
2415#if CHECK_STRUCTS && !defined HASH_Lisp_Symbol_999DC26DEC 2415#if CHECK_STRUCTS && !defined HASH_Lisp_Symbol_DD2E6013B4
2416# error "Lisp_Symbol changed. See CHECK_STRUCTS comment in config.h." 2416# error "Lisp_Symbol changed. See CHECK_STRUCTS comment in config.h."
2417#endif 2417#endif
2418#if CHECK_STRUCTS && !defined (HASH_symbol_redirect_ADB4F5B113) 2418#if CHECK_STRUCTS && !defined (HASH_symbol_redirect_ADB4F5B113)
@@ -2449,7 +2449,6 @@ dump_symbol (struct dump_context *ctx,
2449 DUMP_FIELD_COPY (&out, symbol, u.s.trapped_write); 2449 DUMP_FIELD_COPY (&out, symbol, u.s.trapped_write);
2450 DUMP_FIELD_COPY (&out, symbol, u.s.interned); 2450 DUMP_FIELD_COPY (&out, symbol, u.s.interned);
2451 DUMP_FIELD_COPY (&out, symbol, u.s.declared_special); 2451 DUMP_FIELD_COPY (&out, symbol, u.s.declared_special);
2452 DUMP_FIELD_COPY (&out, symbol, u.s.pinned);
2453 dump_field_lv (ctx, &out, symbol, &symbol->u.s.name, WEIGHT_STRONG); 2452 dump_field_lv (ctx, &out, symbol, &symbol->u.s.name, WEIGHT_STRONG);
2454 switch (symbol->u.s.redirect) 2453 switch (symbol->u.s.redirect)
2455 { 2454 {
@@ -2666,7 +2665,7 @@ dump_hash_table (struct dump_context *ctx,
2666 Lisp_Object object, 2665 Lisp_Object object,
2667 dump_off offset) 2666 dump_off offset)
2668{ 2667{
2669#if CHECK_STRUCTS && !defined HASH_Lisp_Hash_Table_6D63EDB618 2668#if CHECK_STRUCTS && !defined HASH_Lisp_Hash_Table_203821C7EF
2670# error "Lisp_Hash_Table changed. See CHECK_STRUCTS comment in config.h." 2669# error "Lisp_Hash_Table changed. See CHECK_STRUCTS comment in config.h."
2671#endif 2670#endif
2672 const struct Lisp_Hash_Table *hash_in = XHASH_TABLE (object); 2671 const struct Lisp_Hash_Table *hash_in = XHASH_TABLE (object);
@@ -2682,7 +2681,6 @@ dump_hash_table (struct dump_context *ctx,
2682 them as close to the hash table as possible. */ 2681 them as close to the hash table as possible. */
2683 DUMP_FIELD_COPY (out, hash, count); 2682 DUMP_FIELD_COPY (out, hash, count);
2684 DUMP_FIELD_COPY (out, hash, next_free); 2683 DUMP_FIELD_COPY (out, hash, next_free);
2685 DUMP_FIELD_COPY (out, hash, purecopy);
2686 DUMP_FIELD_COPY (out, hash, mutable); 2684 DUMP_FIELD_COPY (out, hash, mutable);
2687 DUMP_FIELD_COPY (out, hash, rehash_threshold); 2685 DUMP_FIELD_COPY (out, hash, rehash_threshold);
2688 DUMP_FIELD_COPY (out, hash, rehash_size); 2686 DUMP_FIELD_COPY (out, hash, rehash_size);
@@ -5775,8 +5773,6 @@ thaw_hash_tables (void)
5775 hash_table_thaw (AREF (hash_tables, i)); 5773 hash_table_thaw (AREF (hash_tables, i));
5776} 5774}
5777 5775
5778#endif /* HAVE_PDUMPER */
5779
5780 5776
5781void 5777void
5782init_pdumper_once (void) 5778init_pdumper_once (void)
@@ -5785,6 +5781,7 @@ init_pdumper_once (void)
5785 pdumper_do_now_and_after_load (thaw_hash_tables); 5781 pdumper_do_now_and_after_load (thaw_hash_tables);
5786#endif 5782#endif
5787} 5783}
5784#endif /* HAVE_PDUMPER */
5788 5785
5789void 5786void
5790syms_of_pdumper (void) 5787syms_of_pdumper (void)