From 7c4b028435aa83ee42f3db2ecf47f53a1c2247cf Mon Sep 17 00:00:00 2001 From: Randy Stauner Date: Tue, 17 Sep 2024 17:06:27 -0700 Subject: YJIT: Accept key for runtime_stats to return only that stat (#11536) --- yjit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yjit.c') diff --git a/yjit.c b/yjit.c index fe2301a1a6..dedd06dd2d 100644 --- a/yjit.c +++ b/yjit.c @@ -1227,7 +1227,7 @@ rb_yjit_set_exception_return(rb_control_frame_t *cfp, void *leave_exit, void *le 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 rb_yjit_get_stats(rb_execution_context_t *ec, VALUE self, VALUE key); VALUE rb_yjit_reset_stats_bang(rb_execution_context_t *ec, VALUE self); VALUE rb_yjit_disasm_iseq(rb_execution_context_t *ec, VALUE self, VALUE iseq); VALUE rb_yjit_insns_compiled(rb_execution_context_t *ec, VALUE self, VALUE iseq); -- cgit v1.2.3