diff options
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 14 |
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 | ||
| 524 | typedef struct { | 524 | typedef 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 | ||
| 5558 | After compilation, each function definition is updated to use the | 5558 | After compilation, each function definition is updated to use the |
| 5559 | natively-compiled one. */); | 5559 | natively 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 | ||
| 5731 | The *.eln files are actually looked for in a version-specific | 5731 | The *.eln files are actually looked for in a version-specific |
| 5732 | subdirectory of each directory in this list. That subdirectory | 5732 | subdirectory 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. |
| 5748 | Trampolines are needed so that Emacs respects redefinition or advice of | 5748 | Trampolines are needed so that Emacs respects redefinition or advice of |
| 5749 | primitive functions when they are called from Lisp code natively-compiled | 5749 | primitive functions when they are called from native-compiled Lisp code |
| 5750 | at `native-comp-speed' of 2. | 5750 | at `native-comp-speed' of 2. |
| 5751 | 5751 | ||
| 5752 | By default, the value is t, and when Emacs sees a redefined or advised | 5752 | By default, the value is t, and when Emacs sees a redefined or advised |
| 5753 | primitive called from natively-compiled Lisp, it generates a trampoline | 5753 | primitive called from native-compiled Lisp, it generates a trampoline |
| 5754 | for it on-the-fly. | 5754 | for it on-the-fly. |
| 5755 | 5755 | ||
| 5756 | If the value is a file name (a string), it specifies the directory in | 5756 | If 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. | |||
| 5762 | Disabling the generation of trampolines, when a trampoline for a redefined | 5762 | Disabling the generation of trampolines, when a trampoline for a redefined |
| 5763 | or advised primitive is not already available from previous compilations, | 5763 | or advised primitive is not already available from previous compilations, |
| 5764 | means that such redefinition or advice will not have effect when calling | 5764 | means that such redefinition or advice will not have effect when calling |
| 5765 | primitives from natively-compiled Lisp code. That is, calls to primitives | 5765 | primitives from native-compiled Lisp code. That is, calls to primitives |
| 5766 | without existing trampolines from natively-compiled Lisp will behave as if | 5766 | without existing trampolines from native-compiled Lisp will behave as if |
| 5767 | the primitive was called directly from C, and will ignore its redefinition | 5767 | the primitive was called directly from C, and will ignore its redefinition |
| 5768 | and advice. */); | 5768 | and advice. */); |
| 5769 | 5769 | ||