diff options
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1244,6 +1244,14 @@ 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 gen_stats, VALUE print_stats, VALUE gen_compilation_log, VALUE print_compilation_log); +VALUE rb_yjit_c_builtin_p(rb_execution_context_t *ec, VALUE self); + +// Allow YJIT_C_BUILTIN macro to force --yjit-c-builtin +#ifdef YJIT_C_BUILTIN +static VALUE yjit_c_builtin_p(rb_execution_context_t *ec, VALUE self) { return Qtrue; } +#else +#define yjit_c_builtin_p rb_yjit_c_builtin_p +#endif // Preprocessed yjit.rb generated during build #include "yjit.rbinc" |