aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index de25069d94a..03443ed54ab 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -479,7 +479,7 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template,
479 Lisp_Object *top = NULL; 479 Lisp_Object *top = NULL;
480 unsigned char const *pc = NULL; 480 unsigned char const *pc = NULL;
481 481
482 Lisp_Object bytestr = AREF (fun, COMPILED_BYTECODE); 482 Lisp_Object bytestr = AREF (fun, CLOSURE_CODE);
483 483
484 setup_frame: ; 484 setup_frame: ;
485 eassert (!STRING_MULTIBYTE (bytestr)); 485 eassert (!STRING_MULTIBYTE (bytestr));
@@ -489,8 +489,8 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template,
489 when returning, to detect unwind imbalances. This would require adding 489 when returning, to detect unwind imbalances. This would require adding
490 a field to the frame header. */ 490 a field to the frame header. */
491 491
492 Lisp_Object vector = AREF (fun, COMPILED_CONSTANTS); 492 Lisp_Object vector = AREF (fun, CLOSURE_CONSTANTS);
493 Lisp_Object maxdepth = AREF (fun, COMPILED_STACK_DEPTH); 493 Lisp_Object maxdepth = AREF (fun, CLOSURE_STACK_DEPTH);
494 ptrdiff_t const_length = ASIZE (vector); 494 ptrdiff_t const_length = ASIZE (vector);
495 ptrdiff_t bytestr_length = SCHARS (bytestr); 495 ptrdiff_t bytestr_length = SCHARS (bytestr);
496 Lisp_Object *vectorp = XVECTOR (vector)->contents; 496 Lisp_Object *vectorp = XVECTOR (vector)->contents;
@@ -792,14 +792,14 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template,
792 /* Calls to symbols-with-pos don't need to be on the fast path. */ 792 /* Calls to symbols-with-pos don't need to be on the fast path. */
793 if (BARE_SYMBOL_P (call_fun)) 793 if (BARE_SYMBOL_P (call_fun))
794 call_fun = XBARE_SYMBOL (call_fun)->u.s.function; 794 call_fun = XBARE_SYMBOL (call_fun)->u.s.function;
795 if (COMPILEDP (call_fun)) 795 if (CLOSUREP (call_fun))
796 { 796 {
797 Lisp_Object template = AREF (call_fun, COMPILED_ARGLIST); 797 Lisp_Object template = AREF (call_fun, CLOSURE_ARGLIST);
798 if (FIXNUMP (template)) 798 if (FIXNUMP (template))
799 { 799 {
800 /* Fast path for lexbound functions. */ 800 /* Fast path for lexbound functions. */
801 fun = call_fun; 801 fun = call_fun;
802 bytestr = AREF (call_fun, COMPILED_BYTECODE), 802 bytestr = AREF (call_fun, CLOSURE_CODE),
803 args_template = XFIXNUM (template); 803 args_template = XFIXNUM (template);
804 nargs = call_nargs; 804 nargs = call_nargs;
805 args = call_args; 805 args = call_args;
@@ -897,8 +897,8 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template,
897 bc->fp = fp; 897 bc->fp = fp;
898 898
899 Lisp_Object fun = fp->fun; 899 Lisp_Object fun = fp->fun;
900 Lisp_Object bytestr = AREF (fun, COMPILED_BYTECODE); 900 Lisp_Object bytestr = AREF (fun, CLOSURE_CODE);
901 Lisp_Object vector = AREF (fun, COMPILED_CONSTANTS); 901 Lisp_Object vector = AREF (fun, CLOSURE_CONSTANTS);
902 bytestr_data = SDATA (bytestr); 902 bytestr_data = SDATA (bytestr);
903 vectorp = XVECTOR (vector)->contents; 903 vectorp = XVECTOR (vector)->contents;
904 if (BYTE_CODE_SAFE) 904 if (BYTE_CODE_SAFE)
@@ -974,8 +974,8 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template,
974 struct bc_frame *fp = bc->fp; 974 struct bc_frame *fp = bc->fp;
975 975
976 Lisp_Object fun = fp->fun; 976 Lisp_Object fun = fp->fun;
977 Lisp_Object bytestr = AREF (fun, COMPILED_BYTECODE); 977 Lisp_Object bytestr = AREF (fun, CLOSURE_CODE);
978 Lisp_Object vector = AREF (fun, COMPILED_CONSTANTS); 978 Lisp_Object vector = AREF (fun, CLOSURE_CONSTANTS);
979 bytestr_data = SDATA (bytestr); 979 bytestr_data = SDATA (bytestr);
980 vectorp = XVECTOR (vector)->contents; 980 vectorp = XVECTOR (vector)->contents;
981 if (BYTE_CODE_SAFE) 981 if (BYTE_CODE_SAFE)