summaryrefslogtreecommitdiff
path: root/vm_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_exec.c')
-rw-r--r--vm_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_exec.c b/vm_exec.c
index 947d4dc421..bd8c170d76 100644
--- a/vm_exec.c
+++ b/vm_exec.c
@@ -11,9 +11,9 @@
#include <math.h>
-#if USE_YJIT
-// The number of instructions executed on vm_exec_core. --yjit-stats uses this.
-uint64_t rb_vm_insns_count = 0;
+#if USE_YJIT || USE_ZJIT
+// The number of instructions executed on vm_exec_core. --yjit-stats and --zjit-stats use this.
+uint64_t rb_vm_insn_count = 0;
#endif
#if VM_COLLECT_USAGE_DETAILS