diff options
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 16152a9ba3..de7cfcd73e 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1086,7 +1086,7 @@ vm_throw_continue(const rb_execution_context_t *ec, VALUE err) static VALUE vm_throw_start(const rb_execution_context_t *ec, rb_control_frame_t *const reg_cfp, enum ruby_tag_type state, - const int flag, const VALUE throwobj) + const int flag, const VALUE throwobj) { const rb_control_frame_t *escape_cfp = NULL; const rb_control_frame_t * const eocfp = RUBY_VM_END_CONTROL_FRAME(ec); /* end of control frame pointer */ @@ -1241,7 +1241,7 @@ vm_throw(const rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, const int flag = (int)(throw_state & VM_THROW_NO_ESCAPE_FLAG); if (state != 0) { - return vm_throw_start(ec, reg_cfp, state, flag, throwobj); + return vm_throw_start(ec, reg_cfp, state, flag, throwobj); } else { return vm_throw_continue(ec, throwobj); |