From 4fba42edf26f07e0f1d8907dc7df27f230b1d634 Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Sat, 8 Apr 2006 09:26:05 +0000 Subject: [PATCH] add jump table into jit_opcodes array --- ChangeLog | 2 ++ jit/jit-opcode.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index a9969cd..50e3a1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-04-08 Aleksey Demakov + * jit/jit-opcode.c: add jump table into jit_opcodes array. + * tools/gen-rules-parser.y: extend pattern syntax to allow mark registers as clobbered. Fix bugs. diff --git a/jit/jit-opcode.c b/jit/jit-opcode.c index f0684be..adacfaa 100644 --- a/jit/jit-opcode.c +++ b/jit/jit-opcode.c @@ -536,6 +536,10 @@ jit_opcode_info_t const jit_opcodes[JIT_OP_NUM_OPCODES] = { {"mark_offset", F_(EMPTY, INT, EMPTY)}, {"mark_breakpoint", F_(EMPTY, PTR, PTR)}, + /* + * Switch statement support. + */ + {"jump_table", F_(PTR, PTR, INT)}, }; #if defined(JIT_BACKEND_INTERP) -- 2.47.3