summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-20 07:07:35 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-20 07:07:35 +0000
commit314bef7ef149d7ce87c57fa0c95e30fc8fb9b27f (patch)
tree0d4ec9f1e50ea5fb278260d7ac8517210761df6e /cont.c
parente42fac7c061283180cbc630bd930ef16f5074d33 (diff)
downloadruby-314bef7ef149d7ce87c57fa0c95e30fc8fb9b27f.tar.gz
* insnhelper.ci, vm.c, vm_core.h: change interface of
vm_invoke_block() to specify block ptr. [ruby-talk:266422] * cont.c, eval_jump.ci, insns.def, proc.c, signal.c, thread.c: apply above change. * bootstraptest/test_knownbug.rb: move fixed bug. * bootstraptest/test_block.rb: ditto. and add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 14c1f497f3..39c8cfd33d 100644
--- a/cont.c
+++ b/cont.c
@@ -596,7 +596,7 @@ rb_fiber_start(void)
th->local_lfp = proc->block.lfp;
th->local_svar = Qnil;
- cont->value = vm_invoke_proc(th, proc, proc->block.self, 1, &args);
+ cont->value = vm_invoke_proc(th, proc, proc->block.self, 1, &args, 0);
}
TH_POP_TAG();