aboutsummaryrefslogtreecommitdiffstats
path: root/vm_exec.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-08 17:18:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-09 11:21:56 +0900
commitf584dc5a11d389a24a504b6066b74d1388f6164b (patch)
tree39c55b3a2ad93907363570ffd5adc88c30b0b6f4 /vm_exec.c
parent836b7047a60bc214c90438a763ef759f1963caff (diff)
downloadruby-f584dc5a11d389a24a504b6066b74d1388f6164b.tar.gz
Suppress unused-function warning when OPT_THREADED_CODE != 1
Diffstat (limited to 'vm_exec.c')
-rw-r--r--vm_exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_exec.c b/vm_exec.c
index 305ff90261..8931799c2e 100644
--- a/vm_exec.c
+++ b/vm_exec.c
@@ -15,6 +15,7 @@
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];