mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
ops.h: rename OP_LOADI to OP_LOADI8
OP_LOADI stores an 8 bit integer to a register, so we renamed the instruction name to describe the behavior more precisely, like OP_LOADI16 and OP_LOADI32.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ operation code operands semantics
|
||||
OPCODE(NOP, Z) /* no operation */
|
||||
OPCODE(MOVE, BB) /* R[a] = R[b] */
|
||||
OPCODE(LOADL, BB) /* R[a] = Pool[b] */
|
||||
OPCODE(LOADI, BB) /* R[a] = mrb_int(b) */
|
||||
OPCODE(LOADI8, BB) /* R[a] = mrb_int(b) */
|
||||
OPCODE(LOADINEG, BB) /* R[a] = mrb_int(-b) */
|
||||
OPCODE(LOADI__1, B) /* R[a] = mrb_int(-1) */
|
||||
OPCODE(LOADI_0, B) /* R[a] = mrb_int(0) */
|
||||
|
||||
Reference in New Issue
Block a user