summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 22:03:39 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 22:29:35 -0800
commit290e26c729a083f4461d2497099d9e7eee814228 (patch)
treea8f7086b396cb4c9fcca132707a8f90036e5a0a7 /vm.c
parent7fb36a0054436369aa2868490e2d102d8e75929c (diff)
downloadruby-290e26c729a083f4461d2497099d9e7eee814228.tar.gz
Remove obsoleted MJIT_HEADER macro
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/vm.c b/vm.c
index fe1411d174..c21d26cde9 100644
--- a/vm.c
+++ b/vm.c
@@ -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 */