summaryrefslogtreecommitdiff
path: root/yjit_iface.h
diff options
context:
space:
mode:
authorNoah Gibbs <noah.gibbs@shopify.com>2021-06-28 18:06:03 +0100
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:36 -0400
commit25792c17d44f4097ad5aedee87b4369cfdbef9f7 (patch)
treeddfcb28f7ba855d03b55bc498a57177915742b5d /yjit_iface.h
parent94cb5a6b1e9243526af341b420ac1cb9c4de56c0 (diff)
Convert yjit static stat variables to counters
Diffstat (limited to 'yjit_iface.h')
-rw-r--r--yjit_iface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/yjit_iface.h b/yjit_iface.h
index f0980eaf3f..cfb2764454 100644
--- a/yjit_iface.h
+++ b/yjit_iface.h
@@ -75,6 +75,9 @@ YJIT_DECLARE_COUNTERS(
binding_allocations,
binding_set,
+ vm_insns_count,
+ compiled_iseq_count,
+
// Member with known name for iterating over counters
last_member
)
@@ -93,7 +96,6 @@ extern yjit_comment_array_t yjit_code_comments;
#endif // if RUBY_DEBUG
RUBY_EXTERN struct rb_yjit_options rb_yjit_opts;
-RUBY_EXTERN int64_t rb_compiled_iseq_count;
RUBY_EXTERN struct rb_yjit_runtime_counters yjit_runtime_counters;
void cb_write_pre_call_bytes(codeblock_t* cb);