aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/comp.c b/src/comp.c
index 692b28e00cb..219a482931e 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -518,7 +518,7 @@ load_gccjit_if_necessary (bool mandatory)
518#endif 518#endif
519#define SETJMP_NAME SETJMP 519#define SETJMP_NAME SETJMP
520 520
521/* Max number function importable by native compiled code. */ 521/* Max number function importable by native-compiled code. */
522#define F_RELOC_MAX_SIZE 1600 522#define F_RELOC_MAX_SIZE 1600
523 523
524typedef struct { 524typedef struct {
@@ -5556,7 +5556,7 @@ syms_of_comp (void)
5556 doc: /* If non-nil, compile loaded .elc files asynchronously. 5556 doc: /* If non-nil, compile loaded .elc files asynchronously.
5557 5557
5558After compilation, each function definition is updated to use the 5558After compilation, each function definition is updated to use the
5559natively-compiled one. */); 5559natively compiled one. */);
5560 native_comp_jit_compilation = true; 5560 native_comp_jit_compilation = true;
5561 5561
5562 DEFSYM (Qnative_comp_speed, "native-comp-speed"); 5562 DEFSYM (Qnative_comp_speed, "native-comp-speed");
@@ -5726,7 +5726,7 @@ For internal use. */);
5726 Vcomp_eln_to_el_h = CALLN (Fmake_hash_table, QCtest, Qequal); 5726 Vcomp_eln_to_el_h = CALLN (Fmake_hash_table, QCtest, Qequal);
5727 5727
5728 DEFVAR_LISP ("native-comp-eln-load-path", Vnative_comp_eln_load_path, 5728 DEFVAR_LISP ("native-comp-eln-load-path", Vnative_comp_eln_load_path,
5729 doc: /* List of directories to look for natively-compiled *.eln files. 5729 doc: /* List of directories to look for native-compiled *.eln files.
5730 5730
5731The *.eln files are actually looked for in a version-specific 5731The *.eln files are actually looked for in a version-specific
5732subdirectory of each directory in this list. That subdirectory 5732subdirectory of each directory in this list. That subdirectory
@@ -5746,11 +5746,11 @@ Emacs. */);
5746 Vnative_comp_enable_subr_trampolines, 5746 Vnative_comp_enable_subr_trampolines,
5747 doc: /* If non-nil, enable generation of trampolines for calling primitives. 5747 doc: /* If non-nil, enable generation of trampolines for calling primitives.
5748Trampolines are needed so that Emacs respects redefinition or advice of 5748Trampolines are needed so that Emacs respects redefinition or advice of
5749primitive functions when they are called from Lisp code natively-compiled 5749primitive functions when they are called from native-compiled Lisp code
5750at `native-comp-speed' of 2. 5750at `native-comp-speed' of 2.
5751 5751
5752By default, the value is t, and when Emacs sees a redefined or advised 5752By default, the value is t, and when Emacs sees a redefined or advised
5753primitive called from natively-compiled Lisp, it generates a trampoline 5753primitive called from native-compiled Lisp, it generates a trampoline
5754for it on-the-fly. 5754for it on-the-fly.
5755 5755
5756If the value is a file name (a string), it specifies the directory in 5756If the value is a file name (a string), it specifies the directory in
@@ -5762,8 +5762,8 @@ When this variable is nil, generation of trampolines is disabled.
5762Disabling the generation of trampolines, when a trampoline for a redefined 5762Disabling the generation of trampolines, when a trampoline for a redefined
5763or advised primitive is not already available from previous compilations, 5763or advised primitive is not already available from previous compilations,
5764means that such redefinition or advice will not have effect when calling 5764means that such redefinition or advice will not have effect when calling
5765primitives from natively-compiled Lisp code. That is, calls to primitives 5765primitives from native-compiled Lisp code. That is, calls to primitives
5766without existing trampolines from natively-compiled Lisp will behave as if 5766without existing trampolines from native-compiled Lisp will behave as if
5767the primitive was called directly from C, and will ignore its redefinition 5767the primitive was called directly from C, and will ignore its redefinition
5768and advice. */); 5768and advice. */);
5769 5769