]> git.eshelyaron.com Git - emacs.git/commit
* Add `comp--install-trampoline' machinery
authorAndrea Corallo <akrl@sdf.org>
Sat, 19 Sep 2020 14:44:53 +0000 (16:44 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 23 Sep 2020 19:08:02 +0000 (21:08 +0200)
commit2f78ac32bbef78155e2f52e73d60f7b46fc8afea
tree5f7835651c1310a8811c5def0d9e3c020a2986b1
parent2ab0966b2fdf3a64d061727f005d32c5aad27594
* Add `comp--install-trampoline' machinery

* src/comp.c (Fcomp__install_trampoline): New function to
install a subr trampoline into the function relocation table.
Once this is done any call from native compiled Lisp to the
related primitive will go through the `funcall' trampoline
making advicing effective.
src/comp.c