]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/pdumper.c (dump_subr): Rename 'native_comp' -> 'non_primitive'.
authorAndrea Corallo <acorallo@gnu.org>
Fri, 23 Feb 2024 00:07:46 +0000 (01:07 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:40:29 +0000 (18:40 +0100)
(cherry picked from commit 32843c7b36b8bf3dc9ac82059a1c3cab03cd8c98)

src/pdumper.c

index 509fb079db7c1740001d5241f0199c6007d0c759..778d8facabd2b8a0b91f4646b22d7ae8c3e595b4 100644 (file)
@@ -2912,17 +2912,17 @@ dump_subr (struct dump_context *ctx, const struct Lisp_Subr *subr)
   dump_object_start (ctx, &out, sizeof (out));
   DUMP_FIELD_COPY (&out, subr, header.size);
 #ifdef HAVE_NATIVE_COMP
-  bool native_comp = !NILP (subr->native_comp_u);
+  bool non_primitive = !NILP (subr->native_comp_u);
 #else
-  bool native_comp = false;
+  bool non_primitive = false;
 #endif
-  if (native_comp)
+  if (non_primitive)
     out.function.a0 = NULL;
   else
     dump_field_emacs_ptr (ctx, &out, subr, &subr->function.a0);
   DUMP_FIELD_COPY (&out, subr, min_args);
   DUMP_FIELD_COPY (&out, subr, max_args);
-  if (native_comp)
+  if (non_primitive)
     {
       dump_field_fixup_later (ctx, &out, subr, &subr->symbol_name);
       dump_remember_cold_op (ctx,
@@ -2947,7 +2947,7 @@ dump_subr (struct dump_context *ctx, const struct Lisp_Subr *subr)
   dump_field_lv (ctx, &out, subr, &subr->type, WEIGHT_NORMAL);
 #endif
   dump_off subr_off = dump_object_finish (ctx, &out, sizeof (out));
-  if (native_comp && ctx->flags.dump_object_contents)
+  if (non_primitive && ctx->flags.dump_object_contents)
     /* We'll do the final addr relocation during VERY_LATE_RELOCS time
        after the compilation units has been loaded. */
     dump_push (&ctx->dump_relocs[VERY_LATE_RELOCS],