ruby-changes:58948
From: Koichi <ko1@a...>
Date: Fri, 29 Nov 2019 05:44:44 +0900 (JST)
Subject: [ruby-changes:58948] 2e6f1cf8b2 (master): export for MJIT
https://git.ruby-lang.org/ruby.git/commit/?id=2e6f1cf8b2 From 2e6f1cf8b264f4c8499c4e5f18bf662fdade04ff Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Fri, 29 Nov 2019 03:17:34 +0900 Subject: export for MJIT diff --git a/insns.def b/insns.def index 39b0554..1f7f259 100644 --- a/insns.def +++ b/insns.def @@ -935,8 +935,6 @@ leave https://github.com/ruby/ruby/blob/trunk/insns.def#L935 } } - 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; diff --git a/variable.c b/variable.c index d6e2f2a..9919e48 100644 --- a/variable.c +++ b/variable.c @@ -799,7 +799,7 @@ gen_ivtbl_get(VALUE obj, struct gen_ivtbl **ivtbl) https://github.com/ruby/ruby/blob/trunk/variable.c#L799 return 0; } -struct st_table * +MJIT_FUNC_EXPORTED struct st_table * rb_ivar_generic_ivtbl(void) { return generic_iv_tbl; diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 94fc7c7..1934965 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2318,8 +2318,7 @@ vm_call_iseq_setup_tailcall(rb_execution_context_t *ec, rb_control_frame_t *cfp, https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L2318 iseq->body->stack_max); cfp->sp = sp_orig; - RUBY_VM_CHECK_INTS(ec); - + return Qundef; } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/