summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorywenc <ywenc@github.com>2023-08-18 18:27:59 -0400
committerGitHub <noreply@github.com>2023-08-18 18:27:59 -0400
commit3dff315ed3e01f54980410008b73c6a838528e08 (patch)
tree9e6555c1f9239bd95f0acaebb89c23f4049a28d8 /yjit.c
parent07833049dffad4dd29435dd290b4e31d1c1e4f9a (diff)
YJIT: Quiet mode when running with `--yjit-stats` (#8251)
Quiet mode for running with --yjit-stats
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit.c b/yjit.c
index 052346950f..badd46b99a 100644
--- a/yjit.c
+++ b/yjit.c
@@ -1169,6 +1169,7 @@ rb_yjit_set_exception_return(rb_control_frame_t *cfp, void *leave_exit, void *le
// Primitives used by yjit.rb
VALUE rb_yjit_stats_enabled_p(rb_execution_context_t *ec, VALUE self);
+VALUE rb_yjit_print_stats_p(rb_execution_context_t *ec, VALUE self);
VALUE rb_yjit_trace_exit_locations_enabled_p(rb_execution_context_t *ec, VALUE self);
VALUE rb_yjit_get_stats(rb_execution_context_t *ec, VALUE self, VALUE context);
VALUE rb_yjit_reset_stats_bang(rb_execution_context_t *ec, VALUE self);