diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-06 22:03:39 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-06 22:29:35 -0800 |
commit | 290e26c729a083f4461d2497099d9e7eee814228 (patch) | |
tree | a8f7086b396cb4c9fcca132707a8f90036e5a0a7 /vm.c | |
parent | 7fb36a0054436369aa2868490e2d102d8e75929c (diff) |
Remove obsoleted MJIT_HEADER macro
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7461
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -43,11 +43,7 @@ #include "builtin.h" -#ifndef MJIT_HEADER #include "probes.h" -#else -#include "probes.dmyh" -#endif #include "probes_helper.h" #ifdef RUBY_ASSERT_CRITICAL_SECTION @@ -422,14 +418,10 @@ jit_exec(rb_execution_context_t *ec) #include "vm_insnhelper.c" -#ifndef MJIT_HEADER - #include "vm_exec.c" #include "vm_method.c" -#endif /* #ifndef MJIT_HEADER */ #include "vm_eval.c" -#ifndef MJIT_HEADER #define PROCDEBUG 0 @@ -688,8 +680,6 @@ rb_vm_get_ruby_level_next_cfp(const rb_execution_context_t *ec, const rb_control return 0; } -#endif /* #ifndef MJIT_HEADER */ - static rb_control_frame_t * vm_get_ruby_level_caller_cfp(const rb_execution_context_t *ec, const rb_control_frame_t *cfp) { @@ -724,8 +714,6 @@ rb_vm_pop_cfunc_frame(void) vm_pop_frame(ec, cfp, cfp->ep); } -#ifndef MJIT_HEADER - void rb_vm_rewind_cfp(rb_execution_context_t *ec, rb_control_frame_t *cfp) { @@ -4424,6 +4412,4 @@ rb_vm_empty_cc_for_super(void) return &vm_empty_cc_for_super; } -#endif /* #ifndef MJIT_HEADER */ - #include "vm_call_iseq_optimized.inc" /* required from vm_insnhelper.c */ |