From ca2e32dcc4ed8bba25a700cd7c8fa8aba6c94ae5 Mon Sep 17 00:00:00 2001 From: Nickolas Lloyd Date: Thu, 22 Dec 2016 20:05:16 -0500 Subject: ; 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. --- src/bytecode.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/bytecode.h') 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 extern void bcall0 (Lisp_Object f); + +extern void +jit_byte_code__ (Lisp_Object); + +extern Lisp_Object +jit_exec (Lisp_Object, Lisp_Object, ptrdiff_t, Lisp_Object *); + +extern Lisp_Object +exec_byte_code__ (Lisp_Object, Lisp_Object, Lisp_Object, + Lisp_Object, ptrdiff_t, Lisp_Object *); -- cgit v1.2.1