]> git.eshelyaron.com Git - emacs.git/commit
Use form native compilation in `comp-trampoline-compile'
authorAndrea Corallo <akrl@sdf.org>
Tue, 13 Oct 2020 20:48:22 +0000 (22:48 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 14 Oct 2020 09:04:36 +0000 (11:04 +0200)
commit03e98f93f72c8a158a3584355bca174e2c63dce6
treec22476153cfddbdd50bc6f257ad71c4751a1035b
parente9c150b5c2efee4fad0e41668f5bf1ecb9fad0df
Use form native compilation in `comp-trampoline-compile'

* lisp/emacs-lisp/comp.el (comp-trampoline-sym): Remove function.
(comp-trampoline-filename): As we are introducing an ABI change in
the eln trampoline format change the trampoline filename to
disambiguate.
(comp-trampoline-search): Rename from `comp-search-trampoline'
and return directly the trampoline.
(comp-trampoline-compile): Rework to use native form compilation
in place of un-evaluating a function and return directly the
trampoline.
(comp-subr-trampoline-install): Update for
`comp-trampoline-search' and `comp-trampoline-compile' new
interfaces.
* src/comp.c (Fcomp__install_trampoline): Store the trampoline
itself as value in `comp-installed-trampolines-h'.
(syms_of_comp): Doc update `comp-installed-trampolines-h'.
lisp/emacs-lisp/comp.el
src/comp.c