* src/comp.c: Few improvements following 71b8f1fc63.

* 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.
This commit is contained in:
Andrea Corallo 2022-03-22 09:32:57 +01:00
parent b10dcd0c88
commit 7872d496d5

View file

@ -447,7 +447,7 @@ load_gccjit_if_necessary (bool mandatory)
/* Increase this number to force a new Vcomp_abi_hash to be generated. */
#define ABI_VERSION "4"
#define ABI_VERSION "5"
/* Length of the hashes used for eln file naming. */
#define HASH_LENGTH 8
@ -5463,9 +5463,7 @@ This gets called by top_level_run during the load phase. */)
{
Lisp_Object doc_idx = FIRST (rest);
Lisp_Object intspec = SECOND (rest);
Lisp_Object command_modes = Qnil;
if (!NILP (XCDR (XCDR (rest))))
command_modes = THIRD (rest);
Lisp_Object command_modes = THIRD (rest);
struct Lisp_Native_Comp_Unit *cu = XNATIVE_COMP_UNIT (comp_u);
if (cu->loaded_once)
@ -5498,9 +5496,7 @@ This gets called by top_level_run during the load phase. */)
{
Lisp_Object doc_idx = FIRST (rest);
Lisp_Object intspec = SECOND (rest);
Lisp_Object command_modes = Qnil;
if (!NILP (XCDR (XCDR (rest))))
command_modes = THIRD (rest);
Lisp_Object command_modes = THIRD (rest);
Lisp_Object tem =
make_subr (SYMBOL_NAME (name), minarg, maxarg, c_name, type, doc_idx,