YJIT: Make ratio_in_yjit always available (#8064)

This commit is contained in:
Takashi Kokubun 2023-07-13 15:14:43 -07:00 committed by GitHub
parent e850181acf
commit d814722fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

View file

@ -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