summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-02-16 11:32:13 -0800
committerGitHub <noreply@github.com>2023-02-16 11:32:13 -0800
commit21f9c92c7144e3b1387aaecfba4fa2beba2d1d70 (patch)
tree11f3c544cbc5165843384f09fe604d659fa2d908 /yjit.c
parent8f22dc39f38f32bc3cde198c2b476899f6460c9c (diff)
YJIT: Show Context stats on exit (#7327)
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.c b/yjit.c
index c4cf155cf6..e00eda4581 100644
--- a/yjit.c
+++ b/yjit.c
@@ -1100,7 +1100,7 @@ object_shape_count(rb_execution_context_t *ec, VALUE self)
// Primitives used by yjit.rb
VALUE rb_yjit_stats_enabled_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 context);
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);