1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

revert r40760

* vm.c (vm_invoke_proc): revert r40760 partially, which causes timeout
  in test/ruby/test_thread.rb:test_stack_size.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-05-15 16:08:48 +00:00
parent 85ed9ca7e0
commit 83b1c8da9b

2
vm.c
View file

@ -682,7 +682,7 @@ static VALUE
vm_invoke_proc(rb_thread_t *th, rb_proc_t *proc, VALUE self, VALUE defined_class,
int argc, const VALUE *argv, const rb_block_t *blockptr)
{
volatile VALUE val = Qundef;
VALUE val = Qundef;
int state;
volatile int stored_safe = th->safe_level;