Permalink
Browse files

* 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
  • Loading branch information...
1 parent 94a6df7 commit 4c276d0c8b505377f4cd06c413b5ea10adaca8cb @nobu nobu committed Mar 26, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 iseq.c
View
1 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();

0 comments on commit 4c276d0

Please sign in to comment.