From eba16d7444e3dc4dc917ac2a3b1340bc193df1c4 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Aug 2010 21:03:32 +0000 Subject: * vm_insnhelper.c (vm_push_frame): initialize block_iseq. a patch from Peter Weldon at [ruby-core:31757]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_insnhelper.c') diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 2e01703f7c..985a2fb5a8 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -58,6 +58,7 @@ vm_push_frame(rb_thread_t * th, const rb_iseq_t * iseq, cfp->self = self; cfp->lfp = lfp; cfp->dfp = sp; + cfp->block_iseq = 0; cfp->proc = 0; cfp->me = 0; -- cgit v1.2.3