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

ruby-changes:68987

From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:19:35 +0900 (JST)
Subject: [ruby-changes:68987] da30f21ab5 (master): Try to fix MJIT symbol clash with cargo cult

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

From da30f21ab5122b55f69fb41290f587aadd4fb8f7 Mon Sep 17 00:00:00 2001
From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...>
Date: Thu, 13 May 2021 13:25:12 -0400
Subject: Try to fix MJIT symbol clash with cargo cult

---
 vm_insnhelper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index c9c4744b23..8babcca0a4 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -2240,7 +2240,7 @@ rb_simple_iseq_p(const rb_iseq_t *iseq) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L2240
 	   iseq->body->param.flags.has_block == FALSE;
 }
 
-bool
+MJIT_FUNC_EXPORTED bool
 rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
 {
     return iseq->body->param.flags.has_opt == TRUE &&
@@ -2252,7 +2252,7 @@ rb_iseq_only_optparam_p(const rb_iseq_t *iseq) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L2252
            iseq->body->param.flags.has_block == FALSE;
 }
 
-bool
+MJIT_FUNC_EXPORTED bool
 rb_iseq_only_kwparam_p(const rb_iseq_t *iseq)
 {
     return iseq->body->param.flags.has_opt == FALSE &&
-- 
cgit v1.2.1


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

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