summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-26 04:23:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-26 04:23:21 +0000
commit905c1579174296a9c876a20e93b1fe540ed7adbe (patch)
tree4731d0d426d905545b924a64be9ba460094f28b2 /iseq.c
parent2c288bf91f04f93476d2794dff996979ccdfb4cf (diff)
* iseq.c (cdhash_each): resurrects internal literals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22640 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 0385e214b1..b9949643be 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1018,7 +1018,7 @@ exception_type2symbol(VALUE type)
static int
cdhash_each(VALUE key, VALUE value, VALUE ary)
{
- rb_ary_push(ary, key);
+ rb_ary_push(ary, obj_resurrect(key));
rb_ary_push(ary, value);
return ST_CONTINUE;
}