From 8f0ac27196ff103560222b236584d7e5ccfab99d Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 6 Jun 2020 17:43:17 +0900 Subject: Update opcode reference and comment. - no OP_EXT_ anymore - OP_LOADI16 in right position --- include/mruby/ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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) */ -- cgit v1.2.3