Skip to content

Commit

Permalink
export for MJIT
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Nov 28, 2019
1 parent e5705c3 commit 2e6f1cf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions insns.def
Expand Up @@ -935,8 +935,6 @@ leave
}
}

RUBY_VM_CHECK_INTS(ec);

if (vm_pop_frame(ec, GET_CFP(), GET_EP())) {
#if OPT_CALL_THREADED_CODE
rb_ec_thread_ptr(ec)->retval = val;
Expand Down
2 changes: 1 addition & 1 deletion variable.c
Expand Up @@ -799,7 +799,7 @@ gen_ivtbl_get(VALUE obj, struct gen_ivtbl **ivtbl)
return 0;
}

struct st_table *
MJIT_FUNC_EXPORTED struct st_table *
rb_ivar_generic_ivtbl(void)
{
return generic_iv_tbl;
Expand Down
3 changes: 1 addition & 2 deletions vm_insnhelper.c
Expand Up @@ -2318,8 +2318,7 @@ vm_call_iseq_setup_tailcall(rb_execution_context_t *ec, rb_control_frame_t *cfp,
iseq->body->stack_max);

cfp->sp = sp_orig;
RUBY_VM_CHECK_INTS(ec);


return Qundef;
}

Expand Down

0 comments on commit 2e6f1cf

Please sign in to comment.