summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-12-19 00:06:21 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-12-19 00:06:21 -0800
commit96e4f42b3d13f37afce1a8c584a56f6d7e98ec23 (patch)
tree8b51d1c5a619af88dd67b0d6b97a4c14f18ce9c8
parent8d5af353b2ab6c774a473fdb010dcbe3d4e90f0e (diff)
RJIT: Correct the macro that defines rb_vm_insns_count
-rw-r--r--vm_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_exec.c b/vm_exec.c
index 947d4dc421..44d92e2225 100644
--- a/vm_exec.c
+++ b/vm_exec.c
@@ -11,7 +11,7 @@
#include <math.h>
-#if USE_YJIT
+#if USE_YJIT || USE_RJIT
// The number of instructions executed on vm_exec_core. --yjit-stats uses this.
uint64_t rb_vm_insns_count = 0;
#endif