diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-21 10:52:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-21 10:52:52 +0000 |
commit | a3fe1034c41008df798be2e7fcf19ff5d977bc56 (patch) | |
tree | 1c38fd12acbc0a3cb55bb6d0bc89970c3438d86a /iseq.c | |
parent | c458aeffd1b4339fed8b31c229b0d007c1b9e052 (diff) |
insns.def: checktype
* insns.def (checktype): split branchiftype to checktype and
branchif, to make branch condition negation possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1666,7 +1666,7 @@ rb_insn_operand_intern(const rb_iseq_t *iseq, ret = rb_iseq_defined_string(deftype); if (ret) break; } - else if (insn == BIN(branchiftype) && op_no == 0) { + else if (insn == BIN(checktype) && op_no == 0) { const char *type_str = rb_type_str((enum ruby_value_type)op); if (type_str) { ret = rb_str_new_cstr(type_str); break; |