ruby-changes:59323
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Wed, 18 Dec 2019 14:15:15 +0900 (JST)
Subject: [ruby-changes:59323] fa7fa5c86b (master): delete rb_vm_call()
https://git.ruby-lang.org/ruby.git/commit/?id=fa7fa5c86b From fa7fa5c86b0674eca233922045e4d3dd4ee49cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Wed, 18 Dec 2019 13:03:54 +0900 Subject: delete rb_vm_call() Nobody uses it any longer. diff --git a/vm_core.h b/vm_core.h index e710481..cd7bf74 100644 --- a/vm_core.h +++ b/vm_core.h @@ -1671,8 +1671,6 @@ const rb_env_t *rb_vm_env_prev_env(const rb_env_t *env); https://github.com/ruby/ruby/blob/trunk/vm_core.h#L1671 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); diff --git a/vm_eval.c b/vm_eval.c index 54a4036..bd30b89 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -261,12 +261,6 @@ rb_adjust_argv_kw_splat(int *argc, const VALUE **argv, int *kw_splat) https://github.com/ruby/ruby/blob/trunk/vm_eval.c#L261 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) { -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/