diff options
| author | Hirohito Higashi <uzuki.local> | 2019-10-03 15:05:04 +0900 |
|---|---|---|
| committer | Hirohito Higashi <uzuki.local> | 2019-10-03 15:06:06 +0900 |
| commit | 63496a6730430e8cd851bdabde0d79857b625e0c (patch) | |
| tree | b4be9342f106f12989a0c21d5801ee1e7b60fa35 /include | |
| parent | b4bf7a228212cdc51502ad3f2ef6e8948d8230b8 (diff) | |
| download | mruby-63496a6730430e8cd851bdabde0d79857b625e0c.tar.gz mruby-63496a6730430e8cd851bdabde0d79857b625e0c.zip | |
Fix opcode semantics comment miss. (op_jmpnil)
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)) */ |
