summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/vm.c b/vm.c
index a15bdbb..abcdf34 100644
--- a/vm.c
+++ b/vm.c
@@ -929,12 +929,10 @@ rb_vm_make_jump_tag_but_local_jump(int state, VALUE val)
}
void
-rb_vm_jump_tag_but_local_jump(int state, VALUE val)
+rb_vm_jump_tag_but_local_jump(int state)
{
- if (val != Qnil) {
- VALUE exc = rb_vm_make_jump_tag_but_local_jump(state, val);
- if (!NIL_P(exc)) rb_exc_raise(exc);
- }
+ VALUE exc = rb_vm_make_jump_tag_but_local_jump(state, Qundef);
+ if (!NIL_P(exc)) rb_exc_raise(exc);
JUMP_TAG(state);
}