mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
94a6df7869
commit
4c276d0c8b
1 changed files with 1 additions and 0 deletions
1
iseq.c
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();
|
||||
|
|
Loading…
Reference in a new issue