]> git.eshelyaron.com Git - emacs.git/commit
Small speed improvement for JITed lisp function dispatch
authorNickolas Lloyd <ultrageek.lloyd@gmail.com>
Sun, 29 Jan 2017 18:22:06 +0000 (13:22 -0500)
committerNickolas Lloyd <ultrageek.lloyd@gmail.com>
Sun, 29 Jan 2017 18:22:06 +0000 (13:22 -0500)
commit5b62317b697c04b4120a026e53309e04e15bd9e0
treea08d28e9fec3aad5aae203fe7727e0cc0ceac7d5
parent932eacc3df12fea80aa4c17cc8413d7a7355f512
Small speed improvement for JITed lisp function dispatch

* src/alloc.c (make-byte-code):
* src/bytecode-jit.c (jit_byte_code__):
* src/bytecode.c [HAVE_LIBJIT] (exec_byte_code):
* src/eval.c (funcall_lambda):
* src/lisp.h (funcall_lambda): Store pointer to bytecode execution function
(either `exec_byte_code' or `jit_exec') in Lisp_Compiled objects to avoid
the need for an extra function call in `exec_byte_code'.
src/alloc.c
src/bytecode-jit.c
src/bytecode.c
src/eval.c
src/lisp.h