summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-25 21:52:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-25 21:52:00 +0000
commit6a169a499b6a533bd1c8d9631363f608a604b96e (patch)
tree2f463a8799a595cbee5d54c0c659cde22a49754e
parentd352d0a0a7851bc3a8d0352bf25a15836ee92e93 (diff)
downloadruby-6a169a499b6a533bd1c8d9631363f608a604b96e.tar.gz
vm.c: unused function
* vm.c (rb_vm_jump_tag_but_local_jump): no longer used since r51292. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--eval_intern.h2
-rw-r--r--vm.c2
2 files changed, 4 insertions, 0 deletions
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));