[前][次][番号順一覧][スレッド一覧]

ruby-changes:64797

From: Koichi <ko1@a...>
Date: Fri, 8 Jan 2021 14:39:24 +0900 (JST)
Subject: [ruby-changes:64797] abdc634f64 (master): remove unused decl

https://git.ruby-lang.org/ruby.git/commit/?id=abdc634f64

From abdc634f64a440afcdc7f23c9757d27aab4db8a9 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Fri, 8 Jan 2021 12:08:54 +0900
Subject: remove unused decl


diff --git a/internal/vm.h b/internal/vm.h
index d36ed3d..a0e067d 100644
--- a/internal/vm.h
+++ b/internal/vm.h
@@ -81,12 +81,6 @@ VALUE rb_lambda_call(VALUE obj, ID mid, int argc, const VALUE *argv, https://github.com/ruby/ruby/blob/trunk/internal/vm.h#L81
                      rb_block_call_func_t bl_proc, int min_argc, int max_argc,
                      VALUE data2);
 
-MJIT_SYMBOL_EXPORT_BEGIN
-VALUE rb_vm_call0(struct rb_execution_context_struct *ec, VALUE recv, ID id, int argc, const VALUE *argv, const struct rb_callable_method_entry_struct *me, int kw_splat);
-VALUE rb_vm_call_kw(struct rb_execution_context_struct *ec, VALUE recv, VALUE id, int argc, const VALUE *argv, const struct rb_callable_method_entry_struct *me, int kw_splat);
-VALUE rb_make_no_method_exception(VALUE exc, VALUE format, VALUE obj, int argc, const VALUE *argv, int priv);
-MJIT_SYMBOL_EXPORT_END
-
 /* vm_insnhelper.c */
 VALUE rb_equal_opt(VALUE obj1, VALUE obj2);
 VALUE rb_eql_opt(VALUE obj1, VALUE obj2);
diff --git a/vm_args.c b/vm_args.c
index ac39b31..9ee2832 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -710,8 +710,6 @@ setup_parameters_complex(rb_execution_context_t * const ec, const rb_iseq_t * co https://github.com/ruby/ruby/blob/trunk/vm_args.c#L710
     return opt_pc;
 }
 
-void rb_backtrace_use_iseq_first_lineno_for_last_location(VALUE self); /* vm_backtrace.c */
-
 static void
 raise_argument_error(rb_execution_context_t *ec, const rb_iseq_t *iseq, const VALUE exc)
 {
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]