summaryrefslogtreecommitdiff
path: root/rjit_c.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-17 22:31:41 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-17 22:31:41 -0700
commit644c9985256e8bf52d8ec362dcebe4a437e7fd51 (patch)
treee70f0f8b29fc28df34403026bceadb3a85bcf5f6 /rjit_c.c
parentb9f411b3a855f13b3ab9f5b0fa9845a078e1bc93 (diff)
downloadruby-644c9985256e8bf52d8ec362dcebe4a437e7fd51.tar.gz
RJIT: Support --rjit-stats on release build as well
Diffstat (limited to 'rjit_c.c')
-rw-r--r--rjit_c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rjit_c.c b/rjit_c.c
index 7bd7b1133b..793af25f6a 100644
--- a/rjit_c.c
+++ b/rjit_c.c
@@ -406,10 +406,8 @@ rjit_exit_traces(void)
#define SIZEOF(type) RB_SIZE2NUM(sizeof(type))
#define SIGNED_TYPE_P(type) RBOOL((type)(-1) < (type)(1))
-#if RJIT_STATS
// Insn side exit counters
static size_t rjit_insn_exits[VM_INSTRUCTION_SIZE] = { 0 };
-#endif // YJIT_STATS
// macOS: brew install capstone
// Ubuntu/Debian: apt-get install libcapstone-dev