aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-18 11:06:58 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-18 11:06:58 +0000
commit2b75ee73efdf4010e66e6ce45ef5357da1416469 (patch)
tree468d42ff715cb83e3ecdd67b6b97b7e835289f38 /vm_insnhelper.c
parent947884bd4b1c826e464b55cf3f7a6071d57496d1 (diff)
downloadruby-2b75ee73efdf4010e66e6ce45ef5357da1416469.tar.gz
tabify (sorry!) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 3ae030fea7..acd09bb277 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3244,13 +3244,13 @@ vm_once_dispatch(ISEQ iseq, IC ic, rb_thread_t *th)
return is->once.value;
}
else if (is->once.running_thread == NULL) {
- VALUE val;
+ VALUE val;
is->once.running_thread = th;
val = is->once.value = rb_ensure(vm_once_exec, (VALUE)iseq, vm_once_clear, (VALUE)is);
/* is->once.running_thread is cleared by vm_once_clear() */
is->once.running_thread = RUNNING_THREAD_ONCE_DONE; /* success */
rb_iseq_add_mark_object(th->cfp->iseq, val);
- return val;
+ return val;
}
else if (is->once.running_thread == th) {
/* recursive once */
@@ -3260,7 +3260,7 @@ vm_once_dispatch(ISEQ iseq, IC ic, rb_thread_t *th)
/* waiting for finish */
RUBY_VM_CHECK_INTS(th);
rb_thread_schedule();
- return vm_once_dispatch(iseq, ic, th);
+ return vm_once_dispatch(iseq, ic, th);
}
}
@@ -3424,7 +3424,7 @@ vm_opt_mod(VALUE recv, VALUE obj)
static inline int
vm_method_cfunc_is(CALL_INFO ci, CALL_CACHE cc,
- VALUE recv, VALUE (*func)())
+ VALUE recv, VALUE (*func)())
{
vm_search_method(ci, cc, recv);
return check_cfunc(cc->me, func);