summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cont.c12
-rw-r--r--thread.c11
-rw-r--r--vm.c2
-rw-r--r--vm_insnhelper.c15
4 files changed, 1 insertions, 39 deletions
diff --git a/cont.c b/cont.c
index 75b259a3c2..c0be42bffc 100644
--- a/cont.c
+++ b/cont.c
@@ -1713,18 +1713,6 @@ fiber_t_alloc(VALUE fiber_value)
return fiber;
}
-rb_control_frame_t *
-rb_vm_push_frame(rb_execution_context_t *sec,
- const rb_iseq_t *iseq,
- VALUE type,
- VALUE self,
- VALUE specval,
- VALUE cref_or_me,
- const VALUE *pc,
- VALUE *sp,
- int local_size,
- int stack_max);
-
static VALUE
fiber_initialize(VALUE self, VALUE proc, struct fiber_pool * fiber_pool)
{
diff --git a/thread.c b/thread.c
index 2b785a7ebe..f9fc70f3cf 100644
--- a/thread.c
+++ b/thread.c
@@ -691,17 +691,6 @@ thread_do_start(rb_thread_t *th)
}
void rb_ec_clear_current_thread_trace_func(const rb_execution_context_t *ec);
-rb_control_frame_t *
-rb_vm_push_frame(rb_execution_context_t *sec,
- const rb_iseq_t *iseq,
- VALUE type,
- VALUE self,
- VALUE specval,
- VALUE cref_or_me,
- const VALUE *pc,
- VALUE *sp,
- int local_size,
- int stack_max);
static int
thread_start_func_2(rb_thread_t *th, VALUE *stack_start)
diff --git a/vm.c b/vm.c
index f678a16ba5..13b302a27b 100644
--- a/vm.c
+++ b/vm.c
@@ -2662,7 +2662,7 @@ rb_ec_initialize_vm_stack(rb_execution_context_t *ec, VALUE *stack, size_t size)
ec->cfp = (void *)(ec->vm_stack + ec->vm_stack_size);
- rb_vm_push_frame(ec,
+ vm_push_frame(ec,
NULL /* dummy iseq */,
VM_FRAME_MAGIC_DUMMY | VM_ENV_FLAG_LOCAL | VM_FRAME_FLAG_FINISH | VM_FRAME_FLAG_CFRAME /* dummy frame */,
Qnil /* dummy self */, VM_BLOCK_HANDLER_NONE /* dummy block ptr */,
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index c5584d4d40..57f6d91e88 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -345,21 +345,6 @@ vm_push_frame(rb_execution_context_t *ec,
return cfp;
}
-rb_control_frame_t *
-rb_vm_push_frame(rb_execution_context_t *ec,
- const rb_iseq_t *iseq,
- VALUE type,
- VALUE self,
- VALUE specval,
- VALUE cref_or_me,
- const VALUE *pc,
- VALUE *sp,
- int local_size,
- int stack_max)
-{
- return vm_push_frame(ec, iseq, type, self, specval, cref_or_me, pc, sp, local_size, stack_max);
-}
-
/* return TRUE if the frame is finished */
static inline int
vm_pop_frame(rb_execution_context_t *ec, rb_control_frame_t *cfp, const VALUE *ep)