summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/iseq.c b/iseq.c
index 98eaa03c3a..f6f443c21b 100644
--- a/iseq.c
+++ b/iseq.c
@@ -659,15 +659,11 @@ insn_operand_intern(rb_iseq_t *iseq,
}
case TS_ID: /* ID (symbol) */
op = ID2SYM(op);
+
case TS_VALUE: /* VALUE */
- if (op == Qundef) {
- ret = rb_str_new2("undef");
- }
- else {
- ret = rb_inspect(op);
- if (CLASS_OF(op) == rb_cISeq) {
- rb_ary_push(child, op);
- }
+ ret = rb_inspect(op);
+ if (CLASS_OF(op) == rb_cISeq) {
+ rb_ary_push(child, op);
}
break;