diff options
author | Randy Stauner <[email protected]> | 2024-09-17 17:06:27 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-17 20:06:27 -0400 |
commit | 7c4b028435aa83ee42f3db2ecf47f53a1c2247cf (patch) | |
tree | 0624e193606f66d83cd0bb66ef8199ec68709863 /yjit.c | |
parent | 39679d7fabca7fe0918b538e746d5d4381862bce (diff) |
YJIT: Accept key for runtime_stats to return only that stat (#11536)
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |