diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-20 17:47:02 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-20 17:47:02 +0000 |
commit | 052f7f27f2ba3415162d5068958e46a3988e5e08 (patch) | |
tree | 91e37407e0fba38e14f46b4d72dca40a1cba294e /vm_eval.c | |
parent | c8b20d0877a1c47c726f6128d98557ee6da09060 (diff) | |
download | ruby-052f7f27f2ba3415162d5068958e46a3988e5e08.tar.gz |
* vm_eval.c (rb_iterate): remove SEGV (retry).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -832,7 +832,7 @@ rb_iterate(VALUE (* it_proc) (VALUE), VALUE data1, rb_block_t *blockptr; if (bl_proc) { blockptr = RUBY_VM_GET_BLOCK_PTR_IN_CFP(th->cfp); - blockptr->iseq = (void *)NEW_IFUNC(bl_proc, data2); + blockptr->iseq = (void *)node; blockptr->proc = 0; } else { |