summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 12:54:24 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 12:54:24 (GMT)
commitce7ad3a84eb4fb063f008073fd926298aedb6f2a (patch)
tree43950d0ff0c7ea5cc7f6bce7b2237b879ebbe65f /iseq.c
parent646db52f3a986175e93ff5d7eaa43f0953ce9ea5 (diff)
Use already casted variable
r61883 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index e58da59..065ddaf 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1542,7 +1542,7 @@ rb_insn_operand_intern(const rb_iseq_t *iseq,
if (deftype == DEFINED_REF) {
ret = rb_fstring_cstr("ref"); break;
}
- ret = rb_iseq_defined_string((enum defined_type)op);
+ ret = rb_iseq_defined_string(deftype);
if (ret) break;
}
else if (insn == BIN(branchiftype) && op_no == 0) {