diff --git a/eval_intern.h b/eval_intern.h index 2209504aa7..217eddc02c 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -299,7 +299,9 @@ NORETURN(void rb_print_undef(VALUE, ID, rb_method_visibility_t)); NORETURN(void rb_print_undef_str(VALUE, VALUE)); NORETURN(void rb_print_inaccessible(VALUE, ID, rb_method_visibility_t)); NORETURN(void rb_vm_localjump_error(const char *,VALUE, int)); +#if 0 NORETURN(void rb_vm_jump_tag_but_local_jump(int)); +#endif NORETURN(void rb_raise_method_missing(rb_thread_t *th, int argc, const VALUE *argv, VALUE obj, int call_status)); diff --git a/vm.c b/vm.c index aec75da9ef..7949c35db2 100644 --- a/vm.c +++ b/vm.c @@ -1450,6 +1450,7 @@ rb_vm_make_jump_tag_but_local_jump(int state, VALUE val) return make_localjump_error(mesg, val, state); } +#if 0 void rb_vm_jump_tag_but_local_jump(int state) { @@ -1457,6 +1458,7 @@ rb_vm_jump_tag_but_local_jump(int state) if (!NIL_P(exc)) rb_exc_raise(exc); JUMP_TAG(state); } +#endif NORETURN(static void vm_iter_break(rb_thread_t *th, VALUE val));