mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
YJIT: Make ratio_in_yjit always available (#8064)
This commit is contained in:
parent
e850181acf
commit
d814722fb8
Notes:
git
2023-07-13 22:15:03 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
8 changed files with 30 additions and 34 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue