]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
add jump table into jit_opcodes array
authorAleksey Demakov <ademakov@gmail.com>
Sat, 8 Apr 2006 09:26:05 +0000 (09:26 +0000)
committerAleksey Demakov <ademakov@gmail.com>
Sat, 8 Apr 2006 09:26:05 +0000 (09:26 +0000)
ChangeLog
jit/jit-opcode.c

index a9969cda3da5234739036255ac5d3ed778bc9002..50e3a1dfeee3eeda492719de83efdd9025058cbb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-04-08  Aleksey Demakov  <ademakov@gmail.com>
 
+       * 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.
 
index f0684be9f789bddfef642fd92000bb61152312ae..adacfaa4f87fdb3acb5baa048ae2c19ba9f9ecaf 100644 (file)
@@ -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)