aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index 857f798a8d8..b286f6077f3 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4689,7 +4689,8 @@ maybe_defer_native_compilation (Lisp_Object function_name,
4689 || !NILP (Vpurify_flag) 4689 || !NILP (Vpurify_flag)
4690 || !COMPILEDP (definition) 4690 || !COMPILEDP (definition)
4691 || !STRINGP (Vload_true_file_name) 4691 || !STRINGP (Vload_true_file_name)
4692 || !suffix_p (Vload_true_file_name, ".elc")) 4692 || !suffix_p (Vload_true_file_name, ".elc")
4693 || !NILP (Fgethash (Vload_true_file_name, V_comp_no_native_file_h, Qnil)))
4693 return; 4694 return;
4694 4695
4695 Lisp_Object src = 4696 Lisp_Object src =
@@ -5373,6 +5374,13 @@ This is used to prevent double trampoline instantiation but also to
5373protect the trampolines against GC. */); 5374protect the trampolines against GC. */);
5374 Vcomp_installed_trampolines_h = CALLN (Fmake_hash_table); 5375 Vcomp_installed_trampolines_h = CALLN (Fmake_hash_table);
5375 5376
5377 DEFVAR_LISP ("comp-no-native-file-h", V_comp_no_native_file_h,
5378 doc: /* Files for which no deferred compilation has to
5379be performed because the bytecode version was explicitly requested by
5380the user during load.
5381For internal use. */);
5382 V_comp_no_native_file_h = CALLN (Fmake_hash_table, QCtest, Qequal);
5383
5376 Fprovide (intern_c_string ("nativecomp"), Qnil); 5384 Fprovide (intern_c_string ("nativecomp"), Qnil);
5377#endif /* #ifdef HAVE_NATIVE_COMP */ 5385#endif /* #ifdef HAVE_NATIVE_COMP */
5378 5386