aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2021-05-06 10:12:48 +0200
committerAndrea Corallo2021-05-06 17:16:07 +0200
commit43f29696adc37ae75d87cd4b86d78e830e01e018 (patch)
treec89f999768b233314c40652bf210dc79a2a7e194 /src/comp.c
parent643cc3fa144e94b33a7b8f1d4965cec7b383ed35 (diff)
downloademacs-43f29696adc37ae75d87cd4b86d78e830e01e018.tar.gz
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)
2745{ 2745{
2746 /* Emit optimize qualities. */ 2746 /* Emit optimize qualities. */
2747 Lisp_Object opt_qly[] = 2747 Lisp_Object opt_qly[] =
2748 { Fcons (Qcomp_speed, make_fixnum (comp.speed)), 2748 { Fcons (Qnative_comp_speed, make_fixnum (comp.speed)),
2749 Fcons (Qcomp_debug, make_fixnum (comp.debug)), 2749 Fcons (Qcomp_debug, make_fixnum (comp.debug)),
2750 Fcons (Qgccjit, 2750 Fcons (Qgccjit,
2751 Fcomp_libgccjit_version ()) }; 2751 Fcomp_libgccjit_version ()) };
@@ -4856,7 +4856,7 @@ load_comp_unit (struct Lisp_Native_Comp_Unit *comp_u, bool loading_dump,
4856 /* 'dlopen' returns the same handle when trying to load two times 4856 /* 'dlopen' returns the same handle when trying to load two times
4857 the same shared. In this case touching 'd_reloc' etc leads to 4857 the same shared. In this case touching 'd_reloc' etc leads to
4858 fails in case a frame with a reference to it in a live reg is 4858 fails in case a frame with a reference to it in a live reg is
4859 active (comp-speed > 0). 4859 active (native-comp-speed > 0).
4860 4860
4861 We must *never* mess with static pointers in an already loaded 4861 We must *never* mess with static pointers in an already loaded
4862 eln. */ 4862 eln. */
@@ -5207,7 +5207,7 @@ After compilation, each function definition is updated to the native
5207compiled one. */); 5207compiled one. */);
5208 comp_deferred_compilation = true; 5208 comp_deferred_compilation = true;
5209 5209
5210 DEFSYM (Qcomp_speed, "comp-speed"); 5210 DEFSYM (Qnative_comp_speed, "native-comp-speed");
5211 DEFSYM (Qcomp_debug, "comp-debug"); 5211 DEFSYM (Qcomp_debug, "comp-debug");
5212 DEFSYM (Qcomp_native_driver_options, "comp-native-driver-options"); 5212 DEFSYM (Qcomp_native_driver_options, "comp-native-driver-options");
5213 DEFSYM (Qcomp_libgccjit_reproducer, "comp-libgccjit-reproducer"); 5213 DEFSYM (Qcomp_libgccjit_reproducer, "comp-libgccjit-reproducer");