export for MJIT

This commit is contained in:
Koichi Sasada 2019-11-29 03:17:34 +09:00
parent e5705c351c
commit 2e6f1cf8b2
3 changed files with 2 additions and 5 deletions

View File

@ -935,8 +935,6 @@ leave
} }
} }
RUBY_VM_CHECK_INTS(ec);
if (vm_pop_frame(ec, GET_CFP(), GET_EP())) { if (vm_pop_frame(ec, GET_CFP(), GET_EP())) {
#if OPT_CALL_THREADED_CODE #if OPT_CALL_THREADED_CODE
rb_ec_thread_ptr(ec)->retval = val; rb_ec_thread_ptr(ec)->retval = val;

View File

@ -799,7 +799,7 @@ gen_ivtbl_get(VALUE obj, struct gen_ivtbl **ivtbl)
return 0; return 0;
} }
struct st_table * MJIT_FUNC_EXPORTED struct st_table *
rb_ivar_generic_ivtbl(void) rb_ivar_generic_ivtbl(void)
{ {
return generic_iv_tbl; return generic_iv_tbl;

View File

@ -2318,7 +2318,6 @@ vm_call_iseq_setup_tailcall(rb_execution_context_t *ec, rb_control_frame_t *cfp,
iseq->body->stack_max); iseq->body->stack_max);
cfp->sp = sp_orig; cfp->sp = sp_orig;
RUBY_VM_CHECK_INTS(ec);
return Qundef; return Qundef;
} }