diff options
-rw-r--r-- | cont.c | 12 | ||||
-rw-r--r-- | thread.c | 11 | ||||
-rw-r--r-- | vm.c | 2 | ||||
-rw-r--r-- | vm_insnhelper.c | 15 |
4 files changed, 1 insertions, 39 deletions
@@ -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) { @@ -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) @@ -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) |