ruby-changes:47906
From: nobu <ko1@a...>
Date: Tue, 26 Sep 2017 06:52:03 +0900 (JST)
Subject: [ruby-changes:47906] nobu:r60025 (trunk): vm.c: unused function
nobu 2017-09-26 06:52:00 +0900 (Tue, 26 Sep 2017) New Revision: 60025 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60025 Log: vm.c: unused function * vm.c (rb_vm_jump_tag_but_local_jump): no longer used since r51292. Modified files: trunk/eval_intern.h trunk/vm.c Index: eval_intern.h =================================================================== --- eval_intern.h (revision 60024) +++ eval_intern.h (revision 60025) @@ -299,7 +299,9 @@ NORETURN(void rb_print_undef(VALUE, ID, https://github.com/ruby/ruby/blob/trunk/eval_intern.h#L299 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)); Index: vm.c =================================================================== --- vm.c (revision 60024) +++ vm.c (revision 60025) @@ -1450,6 +1450,7 @@ rb_vm_make_jump_tag_but_local_jump(int s https://github.com/ruby/ruby/blob/trunk/vm.c#L1450 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) https://github.com/ruby/ruby/blob/trunk/vm.c#L1458 if (!NIL_P(exc)) rb_exc_raise(exc); JUMP_TAG(state); } +#endif NORETURN(static void vm_iter_break(rb_thread_t *th, VALUE val)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/