summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
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) {