summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--iseq.c12
2 files changed, 8 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index b890895372..527fb812f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 14 12:46:37 2008 Koichi Sasada <ko1@atdot.net>
+
+ * iseq.c (insn_operand_intern): remove Qundef related code.
+
Wed May 14 12:42:36 2008 Akinori MUSHA <knu@iDaemons.org>
* array.c (rb_ary_count): Override Enumerable#count for better
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;