summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-18 21:03:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-18 21:03:32 +0000
commiteba16d7444e3dc4dc917ac2a3b1340bc193df1c4 (patch)
tree2bdb07928366cf1a1fb0462fc410965141f5f72d /vm_insnhelper.c
parent354e3760283d0f06ac1b7271eaf761a704a403cb (diff)
* 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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c1
1 files changed, 1 insertions, 0 deletions
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;