summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-12-19 11:47:27 -0800
committerGitHub <[email protected]>2023-12-19 11:47:27 -0800
commitbd91c5127ff30f5a21547e73a493c06fbd6da7ae (patch)
tree461f5cd88079ac5c1ad47d050ad2a504acc4ade4 /yjit.c
parent084b44e79dd456c9ce09ac06c6faf538160ac6b0 (diff)
YJIT: Add stats option to RubyVM::YJIT.enable (#9297)
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 baefed41cf..58ea3083e2 100644
--- a/yjit.c
+++ b/yjit.c
@@ -1171,7 +1171,7 @@ VALUE rb_yjit_insns_compiled(rb_execution_context_t *ec, VALUE self, VALUE iseq)
VALUE rb_yjit_code_gc(rb_execution_context_t *ec, VALUE self);
VALUE rb_yjit_simulate_oom_bang(rb_execution_context_t *ec, VALUE self);
VALUE rb_yjit_get_exit_locations(rb_execution_context_t *ec, VALUE self);
-VALUE rb_yjit_enable(rb_execution_context_t *ec, VALUE self);
+VALUE rb_yjit_enable(rb_execution_context_t *ec, VALUE self, VALUE gen_stats, VALUE print_stats);
// Preprocessed yjit.rb generated during build
#include "yjit.rbinc"