Skip to content

Commit

Permalink
delete rb_vm_call()
Browse files Browse the repository at this point in the history
Nobody uses it any longer.
  • Loading branch information
shyouhei committed Dec 18, 2019
1 parent dcb603b commit fa7fa5c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions vm_core.h
Expand Up @@ -1671,8 +1671,6 @@ const rb_env_t *rb_vm_env_prev_env(const rb_env_t *env);
const VALUE *rb_binding_add_dynavars(VALUE bindval, rb_binding_t *bind, int dyncount, const ID *dynvars);
void rb_vm_inc_const_missing_count(void);
void rb_vm_gvl_destroy(rb_vm_t *vm);
VALUE rb_vm_call(rb_execution_context_t *ec, VALUE recv, VALUE id, int argc,
const VALUE *argv, const rb_callable_method_entry_t *me);
VALUE rb_vm_call_kw(rb_execution_context_t *ec, VALUE recv, VALUE id, int argc,
const VALUE *argv, const rb_callable_method_entry_t *me, int kw_splat);
MJIT_STATIC void rb_vm_pop_frame(rb_execution_context_t *ec);
Expand Down
6 changes: 0 additions & 6 deletions vm_eval.c
Expand Up @@ -261,12 +261,6 @@ rb_adjust_argv_kw_splat(int *argc, const VALUE **argv, int *kw_splat)
return 0;
}

VALUE
rb_vm_call(rb_execution_context_t *ec, VALUE recv, VALUE id, int argc, const VALUE *argv, const rb_callable_method_entry_t *me)
{
return rb_vm_call0(ec, recv, id, argc, argv, me, RB_NO_KEYWORDS);
}

MJIT_FUNC_EXPORTED VALUE
rb_vm_call_kw(rb_execution_context_t *ec, VALUE recv, VALUE id, int argc, const VALUE *argv, const rb_callable_method_entry_t *me, int kw_splat)
{
Expand Down

0 comments on commit fa7fa5c

Please sign in to comment.