summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-14 03:48:39 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-14 03:48:39 +0000
commita6bec144712bb5ae9168eb336147f71bcdd5f4a8 (patch)
tree9166624e0859ccc02a2a40fca08e2f1ffc057d46 /iseq.c
parent921fb6ae2593d07d35df0f1f487b9d64a0db9520 (diff)
downloadbundler-a6bec144712bb5ae9168eb336147f71bcdd5f4a8.tar.gz
* iseq.c (insn_operand_intern): remove Qundef related code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;