mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Compile out declaration for runtime stats on non stats builds
Checked on default build, RUBY_DEBUG build, and YJIT_STATS build.
This commit is contained in:
parent
a71590e681
commit
121d8f4727
1 changed files with 2 additions and 1 deletions
|
@ -99,10 +99,11 @@ YJIT_DECLARE_COUNTERS(
|
|||
|
||||
#undef YJIT_DECLARE_COUNTERS
|
||||
|
||||
RUBY_EXTERN struct rb_yjit_runtime_counters yjit_runtime_counters;
|
||||
|
||||
#endif // YJIT_STATS
|
||||
|
||||
RUBY_EXTERN struct rb_yjit_options rb_yjit_opts;
|
||||
RUBY_EXTERN struct rb_yjit_runtime_counters yjit_runtime_counters;
|
||||
|
||||
void yjit_map_addr2insn(void *code_ptr, int insn);
|
||||
VALUE *yjit_iseq_pc_at_idx(const rb_iseq_t *iseq, uint32_t insn_idx);
|
||||
|
|
Loading…
Add table
Reference in a new issue