diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-20 07:07:35 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-20 07:07:35 +0000 |
| commit | 35e926ca1fb6600c1c9461d4144c999bc82c1805 (patch) | |
| tree | 0d4ec9f1e50ea5fb278260d7ac8517210761df6e /thread.c | |
| parent | 94ba9e813a06f8529638233199748ce90760ccc7 (diff) | |
| download | ruby-35e926ca1fb6600c1c9461d4144c999bc82c1805.tar.gz ruby-35e926ca1fb6600c1c9461d4144c999bc82c1805.tar.xz ruby-35e926ca1fb6600c1c9461d4144c999bc82c1805.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@14356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
| -rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -321,7 +321,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s th->local_lfp = proc->block.lfp; th->local_svar = Qnil; th->value = vm_invoke_proc(th, proc, proc->block.self, - RARRAY_LEN(args), RARRAY_PTR(args)); + RARRAY_LEN(args), RARRAY_PTR(args), 0); } else { th->value = (*th->first_func)((void *)th->first_args); |
