diff options
| author | Andrea Corallo | 2022-03-22 09:32:57 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2022-03-22 09:43:28 +0100 |
| commit | 7872d496d5dc272dacd2d2a5fd9238e39f2dbea8 (patch) | |
| tree | 46497dc450853adaf35aee211f95dc11bc7d880a /src/comp.c | |
| parent | b10dcd0c8899dd66a07c8935ad5e16d8ebb2e32e (diff) | |
| download | emacs-7872d496d5dc272dacd2d2a5fd9238e39f2dbea8.tar.gz emacs-7872d496d5dc272dacd2d2a5fd9238e39f2dbea8.zip | |
* src/comp.c: Few improvements following 71b8f1fc635.
* src/comp.c (ABI_VERSION): Update.
(Fcomp__register_lambda, Fcomp__register_subr): Remove unnecessary
check.
* src/comp.c (Fcomp__register_lambda, Fcomp__register_subr):
Remove unnecessary change.
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/comp.c b/src/comp.c index 349f228558e..398f35ddb0b 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -447,7 +447,7 @@ load_gccjit_if_necessary (bool mandatory) | |||
| 447 | 447 | ||
| 448 | 448 | ||
| 449 | /* Increase this number to force a new Vcomp_abi_hash to be generated. */ | 449 | /* Increase this number to force a new Vcomp_abi_hash to be generated. */ |
| 450 | #define ABI_VERSION "4" | 450 | #define ABI_VERSION "5" |
| 451 | 451 | ||
| 452 | /* Length of the hashes used for eln file naming. */ | 452 | /* Length of the hashes used for eln file naming. */ |
| 453 | #define HASH_LENGTH 8 | 453 | #define HASH_LENGTH 8 |
| @@ -5463,9 +5463,7 @@ This gets called by top_level_run during the load phase. */) | |||
| 5463 | { | 5463 | { |
| 5464 | Lisp_Object doc_idx = FIRST (rest); | 5464 | Lisp_Object doc_idx = FIRST (rest); |
| 5465 | Lisp_Object intspec = SECOND (rest); | 5465 | Lisp_Object intspec = SECOND (rest); |
| 5466 | Lisp_Object command_modes = Qnil; | 5466 | Lisp_Object command_modes = THIRD (rest); |
| 5467 | if (!NILP (XCDR (XCDR (rest)))) | ||
| 5468 | command_modes = THIRD (rest); | ||
| 5469 | 5467 | ||
| 5470 | struct Lisp_Native_Comp_Unit *cu = XNATIVE_COMP_UNIT (comp_u); | 5468 | struct Lisp_Native_Comp_Unit *cu = XNATIVE_COMP_UNIT (comp_u); |
| 5471 | if (cu->loaded_once) | 5469 | if (cu->loaded_once) |
| @@ -5498,9 +5496,7 @@ This gets called by top_level_run during the load phase. */) | |||
| 5498 | { | 5496 | { |
| 5499 | Lisp_Object doc_idx = FIRST (rest); | 5497 | Lisp_Object doc_idx = FIRST (rest); |
| 5500 | Lisp_Object intspec = SECOND (rest); | 5498 | Lisp_Object intspec = SECOND (rest); |
| 5501 | Lisp_Object command_modes = Qnil; | 5499 | Lisp_Object command_modes = THIRD (rest); |
| 5502 | if (!NILP (XCDR (XCDR (rest)))) | ||
| 5503 | command_modes = THIRD (rest); | ||
| 5504 | 5500 | ||
| 5505 | Lisp_Object tem = | 5501 | Lisp_Object tem = |
| 5506 | make_subr (SYMBOL_NAME (name), minarg, maxarg, c_name, type, doc_idx, | 5502 | make_subr (SYMBOL_NAME (name), minarg, maxarg, c_name, type, doc_idx, |