aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 1c98a516dbb..b4b5ef6e60a 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -286,13 +286,12 @@ enum byte_code_op
286 286
287/* Fetch the next byte from the bytecode stream. */ 287/* Fetch the next byte from the bytecode stream. */
288 288
289#define FETCH (last_pc = pc, *pc++) 289#define FETCH (*pc++)
290#define FETCH_NORECORD (*pc++)
291 290
292/* Fetch two bytes from the bytecode stream and make a 16-bit number 291/* Fetch two bytes from the bytecode stream and make a 16-bit number
293 out of them. */ 292 out of them. */
294 293
295#define FETCH2 (op = FETCH, op + (FETCH_NORECORD << 8)) 294#define FETCH2 (op = FETCH, op + (FETCH << 8))
296 295
297/* Push X onto the execution stack. The expression X should not 296/* Push X onto the execution stack. The expression X should not
298 contain TOP, to avoid competing side effects. */ 297 contain TOP, to avoid competing side effects. */
@@ -376,7 +375,6 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
376 bytestr_data = ptr_bounds_clip (bytestr_data + item_bytes, bytestr_length); 375 bytestr_data = ptr_bounds_clip (bytestr_data + item_bytes, bytestr_length);
377 memcpy (bytestr_data, SDATA (bytestr), bytestr_length); 376 memcpy (bytestr_data, SDATA (bytestr), bytestr_length);
378 unsigned char const *pc = bytestr_data; 377 unsigned char const *pc = bytestr_data;
379 unsigned char const *last_pc = pc;
380 ptrdiff_t count = SPECPDL_INDEX (); 378 ptrdiff_t count = SPECPDL_INDEX ();
381 379
382 if (!NILP (args_template)) 380 if (!NILP (args_template))
@@ -538,7 +536,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
538 if (CONSP (TOP)) 536 if (CONSP (TOP))
539 TOP = XCDR (TOP); 537 TOP = XCDR (TOP);
540 else if (!NILP (TOP)) 538 else if (!NILP (TOP))
541 wrong_type_argument_new (Qlistp, TOP, last_pc - bytestr_data); 539 wrong_type_argument (Qlistp, TOP);
542 NEXT; 540 NEXT;
543 } 541 }
544 542