зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
d352d0a0a7
Коммит
6a169a499b
|
@ -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));
|
||||
|
||||
|
|
2
vm.c
2
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));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче