summaryrefslogtreecommitdiff
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-05-06 10:12:48 +0200
committerAndrea Corallo <akrl@sdf.org>2021-05-06 17:16:07 +0200
commit43f29696adc37ae75d87cd4b86d78e830e01e018 (patch)
treec89f999768b233314c40652bf210dc79a2a7e194 /src/comp.c
parent643cc3fa144e94b33a7b8f1d4965cec7b383ed35 (diff)
downloademacs-43f29696adc37ae75d87cd4b86d78e830e01e018.tar.gz
emacs-43f29696adc37ae75d87cd4b86d78e830e01e018.tar.bz2
emacs-43f29696adc37ae75d87cd4b86d78e830e01e018.zip
Rename comp-speed -> native-comp-speed
* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Rename comp-speed -> native-comp-speed. * lisp/emacs-lisp/comp.el (native-comp-speed, comp-ctxt, comp-func, comp-spill-lap-function, comp-trampoline-compile, comp-run-async-workers): Likewise. * src/comp.c (emit_ctxt_code, load_comp_unit, syms_of_comp): Likewise. * test/src/comp-tests.el (comp-tests-tco, comp-tests-fw-prop-1) (comp-tests-check-ret-type-spec, comp-tests-pure): Likewise.
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c
index 89667b2febc..c87a3e66661 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -2745,7 +2745,7 @@ emit_ctxt_code (void)
{
/* Emit optimize qualities. */
Lisp_Object opt_qly[] =
- { Fcons (Qcomp_speed, make_fixnum (comp.speed)),
+ { Fcons (Qnative_comp_speed, make_fixnum (comp.speed)),
Fcons (Qcomp_debug, make_fixnum (comp.debug)),
Fcons (Qgccjit,
Fcomp_libgccjit_version ()) };
@@ -4856,7 +4856,7 @@ load_comp_unit (struct Lisp_Native_Comp_Unit *comp_u, bool loading_dump,
/* 'dlopen' returns the same handle when trying to load two times
the same shared. In this case touching 'd_reloc' etc leads to
fails in case a frame with a reference to it in a live reg is
- active (comp-speed > 0).
+ active (native-comp-speed > 0).
We must *never* mess with static pointers in an already loaded
eln. */
@@ -5207,7 +5207,7 @@ After compilation, each function definition is updated to the native
compiled one. */);
comp_deferred_compilation = true;
- DEFSYM (Qcomp_speed, "comp-speed");
+ DEFSYM (Qnative_comp_speed, "native-comp-speed");
DEFSYM (Qcomp_debug, "comp-debug");
DEFSYM (Qcomp_native_driver_options, "comp-native-driver-options");
DEFSYM (Qcomp_libgccjit_reproducer, "comp-libgccjit-reproducer");