diff options
| author | Nickolas Lloyd | 2016-12-22 20:05:16 -0500 |
|---|---|---|
| committer | Nickolas Lloyd | 2016-12-22 20:05:16 -0500 |
| commit | ca2e32dcc4ed8bba25a700cd7c8fa8aba6c94ae5 (patch) | |
| tree | bfb09bc34f6de7c34a930d9bbeaddb6f82048cc5 /src/bytecode.h | |
| parent | 52a3e81487641cd81cef777540fa5791fdd93ddb (diff) | |
| download | emacs-ca2e32dcc4ed8bba25a700cd7c8fa8aba6c94ae5.tar.gz emacs-ca2e32dcc4ed8bba25a700cd7c8fa8aba6c94ae5.zip | |
; Minor reorg of bytecode interpreter/JIT compiler
; * src/bytecode.c (exec_byte_code, exec_byte_code__): Use exec_byte_code as
the single entrypoint for both the interpreter and JIT compiler.
; * src/bytecode-jit.c (jit_byte_code): Remove jit_byte_code to be replaced
by exec_byte_code.
; * src/bytecode.h: Add function prototypes.
; * src/eval.c (funcall_lambda): Use exec_byte_code instead of jit_byte_code.
; * src/lisp.h: Update function prototypes.
Diffstat (limited to 'src/bytecode.h')
| -rw-r--r-- | src/bytecode.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bytecode.h b/src/bytecode.h index aa59b943952..25f11f1ce1f 100644 --- a/src/bytecode.h +++ b/src/bytecode.h | |||
| @@ -301,3 +301,13 @@ struct byte_stack | |||
| 301 | 301 | ||
| 302 | extern void | 302 | extern void |
| 303 | bcall0 (Lisp_Object f); | 303 | bcall0 (Lisp_Object f); |
| 304 | |||
| 305 | extern void | ||
| 306 | jit_byte_code__ (Lisp_Object); | ||
| 307 | |||
| 308 | extern Lisp_Object | ||
| 309 | jit_exec (Lisp_Object, Lisp_Object, ptrdiff_t, Lisp_Object *); | ||
| 310 | |||
| 311 | extern Lisp_Object | ||
| 312 | exec_byte_code__ (Lisp_Object, Lisp_Object, Lisp_Object, | ||
| 313 | Lisp_Object, ptrdiff_t, Lisp_Object *); | ||