diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-02-23 01:07:46 +0100 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-02-23 11:40:56 +0100 |
commit | 32843c7b36b8bf3dc9ac82059a1c3cab03cd8c98 (patch) | |
tree | 91f70800f5243999a97858f3e245e1c7b7c65c1a /src/pdumper.c | |
parent | 6a53836a245a8154f1f176ce2a787c24aa7409cb (diff) | |
download | emacs-32843c7b36b8bf3dc9ac82059a1c3cab03cd8c98.tar.gz |
* src/pdumper.c (dump_subr): Rename 'native_comp' -> 'non_primitive'.
Diffstat (limited to 'src/pdumper.c')
-rw-r--r-- | src/pdumper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pdumper.c b/src/pdumper.c index 509fb079db7..778d8facabd 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -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], |