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

ruby-changes:67083

From: Nobuyoshi <ko1@a...>
Date: Mon, 9 Aug 2021 11:22:10 +0900 (JST)
Subject: [ruby-changes:67083] f584dc5a11 (master): Suppress unused-function warning when OPT_THREADED_CODE != 1

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

From f584dc5a11d389a24a504b6066b74d1388f6164b Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 8 Aug 2021 17:18:56 +0900
Subject: Suppress unused-function warning when OPT_THREADED_CODE != 1

---
 vm_exec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vm_exec.c b/vm_exec.c
index 305ff90..8931799 100644
--- a/vm_exec.c
+++ b/vm_exec.c
@@ -15,6 +15,7 @@ https://github.com/ruby/ruby/blob/trunk/vm_exec.c#L15
 static void vm_analysis_insn(int insn);
 #endif
 
+MAYBE_UNUSED(static void vm_insns_counter_count_insn(int insn));
 #if USE_INSNS_COUNTER
 static size_t rb_insns_counter[VM_INSTRUCTION_SIZE];
 
-- 
cgit v1.1


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

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