diff options
author | Takashi Kokubun <[email protected]> | 2023-07-13 15:14:43 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-13 18:14:43 -0400 |
commit | d814722fb8299c4baace3e76447a55a3d5478e3a (patch) | |
tree | 9a2c1ad1a2eec7f7df26ca4deef4a52cddb3750f /vm_exec.c | |
parent | e850181acf0e68a162c75d47b7a0951ab7d878b1 (diff) |
YJIT: Make ratio_in_yjit always available (#8064)
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'vm_exec.c')
-rw-r--r-- | vm_exec.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,11 @@ #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; +#endif + #if VM_COLLECT_USAGE_DETAILS static void vm_analysis_insn(int insn); #endif |