ruby-changes:27884
From: nobu <ko1@a...>
Date: Tue, 26 Mar 2013 15:24:40 +0900 (JST)
Subject: [ruby-changes:27884] nobu:r39936 (trunk): * iseq.c (iseq_load): get rid of SEGV.
nobu 2013-03-26 15:24:26 +0900 (Tue, 26 Mar 2013) New Revision: 39936 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39936 Log: * iseq.c (iseq_load): get rid of SEGV. Modified files: trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 39935) +++ iseq.c (revision 39936) @@ -506,6 +506,7 @@ iseq_load(VALUE self, VALUE data, VALUE https://github.com/ruby/ruby/blob/trunk/iseq.c#L506 GetISeqPtr(iseqval, iseq); iseq->self = iseqval; + iseq->local_iseq = iseq; if (type_map == 0) { type_map = st_init_numtable(); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/