]> git.eshelyaron.com Git - emacs.git/commit
Comp fix calls to redefined primtives with op-bytecode (bug#61917)
authorAndrea Corallo <akrl@sdf.org>
Wed, 29 Mar 2023 16:02:30 +0000 (18:02 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 29 Mar 2023 20:25:04 +0000 (22:25 +0200)
commitab4273056e0ab68a27fe807b16e2995bf84b72ec
tree0b75f1e8e2a7e514457cfaecf6da4b925afe72f2
parentc98929c7e184740a7d68e63a2a619a436e00d813
Comp fix calls to redefined primtives with op-bytecode (bug#61917)

* test/src/comp-tests.el (61917-1): New test.
* src/comp.c (syms_of_comp): New variable.
* lisp/loadup.el: Store primitive arities before dumping.
* lisp/emacs-lisp/comp.el (comp--func-arity): New function.
(comp-emit-set-call-subr): Make use of `comp--func-arity'.
lisp/emacs-lisp/comp.el
lisp/loadup.el
src/comp.c
test/src/comp-tests.el