From 63496a6730430e8cd851bdabde0d79857b625e0c Mon Sep 17 00:00:00 2001 From: Hirohito Higashi Date: Thu, 3 Oct 2019 15:05:04 +0900 Subject: Fix opcode semantics comment miss. (op_jmpnil) --- include/mruby/ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mruby/ops.h b/include/mruby/ops.h index d90630c03..2327c33fd 100644 --- a/include/mruby/ops.h +++ b/include/mruby/ops.h @@ -47,7 +47,7 @@ OPCODE(SETUPVAR, BBB) /* uvset(b,c,R(a)) */ OPCODE(JMP, S) /* pc=a */ OPCODE(JMPIF, BS) /* if R(a) pc=b */ OPCODE(JMPNOT, BS) /* if !R(a) pc=b */ -OPCODE(JMPNIL, BS) /* if R(b)==nil pc=a */ +OPCODE(JMPNIL, BS) /* if R(a)==nil pc=b */ OPCODE(ONERR, S) /* rescue_push(a) */ OPCODE(EXCEPT, B) /* R(a) = exc */ OPCODE(RESCUE, BB) /* R(b) = R(a).isa?(R(b)) */ -- cgit v1.2.3