summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-26 06:24:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-26 06:24:26 +0000
commit4c276d0c8b505377f4cd06c413b5ea10adaca8cb (patch)
tree24bda852cc6aec50a97035ce1d6b0bd1ed6bee6b /iseq.c
parent94a6df786926a61c7099fb338ecb208818b31c02 (diff)
* 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
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c1
1 files changed, 1 insertions, 0 deletions
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();