aboutsummaryrefslogtreecommitdiffstats
path: root/vm_eval.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_eval.c
parent7fb36a0054436369aa2868490e2d102d8e75929c (diff)
downloadruby-290e26c729a083f4461d2497099d9e7eee814228.tar.gz
Remove obsoleted MJIT_HEADER macro
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 7a9f5c4752..d8c48dd6e2 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -41,8 +41,6 @@ typedef enum call_type {
static VALUE send_internal(int argc, const VALUE *argv, VALUE recv, call_type scope);
static VALUE vm_call0_body(rb_execution_context_t* ec, struct rb_calling_info *calling, const VALUE *argv);
-#ifndef MJIT_HEADER
-
VALUE
rb_vm_call0(rb_execution_context_t *ec, VALUE recv, ID id, int argc, const VALUE *argv, const rb_callable_method_entry_t *cme, int kw_splat)
{
@@ -352,8 +350,6 @@ rb_current_receiver(void)
return cfp->self;
}
-#endif /* #ifndef MJIT_HEADER */
-
static inline void
stack_check(rb_execution_context_t *ec)
{
@@ -364,8 +360,6 @@ stack_check(rb_execution_context_t *ec)
}
}
-#ifndef MJIT_HEADER
-
void
rb_check_stack_overflow(void)
{
@@ -944,8 +938,6 @@ rb_make_no_method_exception(VALUE exc, VALUE format, VALUE obj,
}
}
-#endif /* #ifndef MJIT_HEADER */
-
static void
raise_method_missing(rb_execution_context_t *ec, int argc, const VALUE *argv, VALUE obj,
enum method_missing_reason last_call_status)
@@ -1035,8 +1027,6 @@ method_missing(rb_execution_context_t *ec, VALUE obj, ID id, int argc, const VAL
UNREACHABLE_RETURN(Qundef);
}
-#ifndef MJIT_HEADER
-
static inline VALUE
rb_funcallv_scope(VALUE recv, ID mid, int argc, const VALUE *argv, call_type scope)
{
@@ -2551,5 +2541,3 @@ Init_vm_eval(void)
id_tag = rb_intern_const("tag");
id_value = rb_intern_const("value");
}
-
-#endif /* #ifndef MJIT_HEADER */