diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-18 11:06:58 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-18 11:06:58 +0000 |
commit | 4a8c235fedc9077832b7c2881b947824cfe99492 (patch) | |
tree | 468d42ff715cb83e3ecdd67b6b97b7e835289f38 /vm_insnhelper.c | |
parent | ee4ce52d01203bcd115a331aff4aa6beed333d6d (diff) |
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.c | 8 |
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); |