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

ruby-changes:57584

From: Jeremy <ko1@a...>
Date: Fri, 6 Sep 2019 10:15:10 +0900 (JST)
Subject: [ruby-changes:57584] d3cf0eb214 (master): Mark rb_warn_keyword_to_last_hash as static inline

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

From d3cf0eb2142902245b7d45b557f73bbb1f02ba5a Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Thu, 5 Sep 2019 16:06:38 -0700
Subject: Mark rb_warn_keyword_to_last_hash as static inline

mame pointed out that vm_args.c is included in vm_insnhelper.c.

diff --git a/vm_args.c b/vm_args.c
index 69ed9e5..1542607 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -581,7 +581,7 @@ ignore_keyword_hash_p(VALUE keyword_hash, const rb_iseq_t * const iseq) { https://github.com/ruby/ruby/blob/trunk/vm_args.c#L581
 
 VALUE rb_iseq_location(const rb_iseq_t *iseq);
 
-MJIT_FUNC_EXPORTED void
+static inline void
 rb_warn_keyword_to_last_hash(struct rb_calling_info *calling, const struct rb_call_info *ci, const rb_iseq_t * const iseq)
 {
     VALUE name, loc;
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 3c85d2f..bc44ff3 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -24,7 +24,6 @@ extern void rb_method_definition_set(const rb_method_entry_t *me, rb_method_defi https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L24
 extern int rb_method_definition_eq(const rb_method_definition_t *d1, const rb_method_definition_t *d2);
 extern VALUE rb_make_no_method_exception(VALUE exc, VALUE format, VALUE obj,
                                          int argc, const VALUE *argv, int priv);
-extern void rb_warn_keyword_to_last_hash(struct rb_calling_info *calling, const struct rb_call_info *ci, const rb_iseq_t * const iseq);
 
 /* control stack frame */
 
-- 
cgit v0.10.2


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

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