diff Paper/src/dispatch.c @ 22:fb4c1b408c9f

add sample codes and tweak tex
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 08 Nov 2018 17:49:04 +0900
parents
children de0f0fa18b71
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Paper/src/dispatch.c	Thu Nov 08 17:49:04 2018 +0900
@@ -0,0 +1,12 @@
+        DISPATCH(NEXT_OP) {
+            OP(no_op):
+                goto NEXT;
+            OP(const_i8):
+            OP(const_i16):
+            OP(const_i32):
+                MVM_exception_throw_adhoc(tc, "const_iX NYI");
+            OP(const_i64):
+                GET_REG(cur_op, 0).i64 = MVM_BC_get_I64(cur_op, 2);
+                cur_op += 10;
+                goto NEXT;
+        }