aboutsummaryrefslogtreecommitdiffstats
path: root/yjit.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-10-31 11:29:45 -0700
committerGitHub <noreply@github.com>2022-10-31 14:29:45 -0400
commit2b39640b0bbf7459b305d8a98bb01f197975b8d9 (patch)
tree3b605cd8f90c2c42cea97ee50f917c5d0f75d525 /yjit.c
parent5e6633fcf988e5874d0a9929bdf2cd496289e75d (diff)
downloadruby-2b39640b0bbf7459b305d8a98bb01f197975b8d9.tar.gz
YJIT: Add RubyVM::YJIT.code_gc (#6644)
* YJIT: Add RubyVM::YJIT.code_gc * Rename compiled_page_count to live_page_count
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 c53444d5a3..d7f369ca2e 100644
--- a/yjit.c
+++ b/yjit.c
@@ -1053,6 +1053,7 @@ VALUE rb_yjit_get_stats(rb_execution_context_t *ec, VALUE self);
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);
+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);