summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-15 16:08:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-15 16:08:48 +0000
commit83b1c8da9bec49b24b2f2c29ce6bb6784456d04a (patch)
treecd77a9d64c4b0d62b1b1395403c2f7570d438c80 /vm.c
parent85ed9ca7e06dc88bcd6c8b35307d74f00d851d64 (diff)
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
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 9897bc3..2aea296 100644
--- a/vm.c
+++ b/vm.c
@@ -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;