summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-06 17:43:17 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:19 +0900
commit8f0ac27196ff103560222b236584d7e5ccfab99d (patch)
treeff14e8fc3fec75306b985b7c573d37b5357ffe7a /include
parentfd10c7231906ca48cb35892d2a86460004b62249 (diff)
downloadmruby-8f0ac27196ff103560222b236584d7e5ccfab99d.tar.gz
mruby-8f0ac27196ff103560222b236584d7e5ccfab99d.zip
Update opcode reference and comment.
- no OP_EXT_ anymore - OP_LOADI16 in right position
Diffstat (limited to 'include')
-rw-r--r--include/mruby/ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/ops.h b/include/mruby/ops.h
index de6106796..7d20ac0ad 100644
--- a/include/mruby/ops.h
+++ b/include/mruby/ops.h
@@ -25,6 +25,7 @@ OPCODE(LOADI_4, B) /* R(a) = mrb_int(4) */
OPCODE(LOADI_5, B) /* R(a) = mrb_int(5) */
OPCODE(LOADI_6, B) /* R(a) = mrb_int(6) */
OPCODE(LOADI_7, B) /* R(a) = mrb_int(7) */
+OPCODE(LOADI16, BS) /* R(a) = mrb_int(b) */
OPCODE(LOADSYM, BB) /* R(a) = Syms(b) */
OPCODE(LOADNIL, B) /* R(a) = nil */
OPCODE(LOADSELF, B) /* R(a) = self */
@@ -112,4 +113,3 @@ OPCODE(TCLASS, B) /* R(a) = target_class */
OPCODE(DEBUG, BBB) /* print a,b,c */
OPCODE(ERR, B) /* raise(LocalJumpError, Lit(a)) */
OPCODE(STOP, Z) /* stop VM */
-OPCODE(LOADI16, BS) /* R(a) = mrb_int(b) */