From 4c276d0c8b505377f4cd06c413b5ea10adaca8cb Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 26 Mar 2013 06:24:26 +0000 Subject: [PATCH] * iseq.c (iseq_load): get rid of SEGV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iseq.c b/iseq.c index 288d3bfb05..ef6a7022df 100644 --- a/iseq.c +++ b/iseq.c @@ -506,6 +506,7 @@ iseq_load(VALUE self, VALUE data, VALUE parent, VALUE opt) GetISeqPtr(iseqval, iseq); iseq->self = iseqval; + iseq->local_iseq = iseq; if (type_map == 0) { type_map = st_init_numtable();