aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index bda9a39b7f3..96f1f905812 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -458,17 +458,13 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
458 458
459#ifdef BYTE_CODE_THREADED 459#ifdef BYTE_CODE_THREADED
460 460
461 /* A convenience define that saves us a lot of typing and makes
462 the table clearer. */
463#define LABEL(OP) [OP] = &&insn_ ## OP
464
465 /* This is the dispatch table for the threaded interpreter. */ 461 /* This is the dispatch table for the threaded interpreter. */
466 static const void *const targets[256] = 462 static const void *const targets[256] =
467 { 463 {
468 [0 ... (Bconstant - 1)] = &&insn_default, 464 [0 ... (Bconstant - 1)] = &&insn_default,
469 [Bconstant ... 255] = &&insn_Bconstant, 465 [Bconstant ... 255] = &&insn_Bconstant,
470 466
471#define DEFINE(name, value) LABEL (name) , 467#define DEFINE(name, value) [name] = &&insn_ ## name,
472 BYTE_CODES 468 BYTE_CODES
473#undef DEFINE 469#undef DEFINE
474 }; 470 };