(insert ";; no-byte-" "compile: t\n"))
(unless autoloads
(insert ";; no-update-autoloads: t\n"))
- (unless native-comp-deferred-compilation
+ (unless native-comp-jit-compilation
(insert ";; no-native-" "compile: t\n"))
(when coding
(insert (format ";; coding: %s\n"
Load the compiled code when finished.
Use `emacs-lisp-byte-compile-and-load' in combination with
-`native-comp-deferred-compilation' set to t to achieve asynchronous
+`native-comp-jit-compilation' set to t to achieve asynchronous
native compilation."
(interactive nil emacs-lisp-mode)
(emacs-lisp--before-compile-buffer)
(setq comp--compilable t))
(defvar native-comp-eln-load-path)
-(defvar native-comp-deferred-compilation)
+(defvar native-comp-jit-compilation)
(defvar native-comp-enable-subr-trampolines)
(defvar startup--original-eln-load-path nil
;; in this session. This is necessary if libgccjit is not
;; available on MS-Windows, but Emacs was built with
;; native-compilation support.
- (setq native-comp-deferred-compilation nil
+ (setq native-comp-jit-compilation nil
native-comp-enable-subr-trampolines nil))
;; Form `native-comp-eln-load-path'.
'native-comp-enable-subr-trampolines
"29.1")
+(make-obsolete-variable 'native-comp-deferred-compilation
+ 'native-comp-jit-compilation
+ "29.1")
+
\f
;;;; Alternate names for functions - these are not being phased out.
if (!load_gccjit_if_necessary (false))
return;
- if (!native_comp_deferred_compilation
+ if (!native_comp_jit_compilation
|| noninteractive
|| !NILP (Vpurify_flag)
|| !COMPILEDP (definition)
doc: /* Non-nil when comp.el can be native compiled.
For internal use. */);
/* Compiler control customizes. */
- DEFVAR_BOOL ("native-comp-deferred-compilation",
- native_comp_deferred_compilation,
+ DEFVAR_BOOL ("native-comp-jit-compilation",
+ native_comp_jit_compilation,
doc: /* If non-nil compile loaded .elc files asynchronously.
After compilation, each function definition is updated to the native
compiled one. */);
- native_comp_deferred_compilation = true;
+ native_comp_jit_compilation = true;
DEFSYM (Qnative_comp_speed, "native-comp-speed");
DEFSYM (Qnative_comp_debug, "native-comp-debug");