From 905c1579174296a9c876a20e93b1fe540ed7adbe Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 26 Feb 2009 04:23:21 +0000 Subject: * iseq.c (cdhash_each): resurrects internal literals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iseq.c') 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; } -- cgit v1.2.3