Project

General

Profile

Feature #15085 » export-big-func.patch

wanabe (_ wanabe), 09/06/2018 10:57 PM

View differences:

tool/transform_mjit_header.rb
IGNORED_FUNCTIONS = [
'rb_vm_search_method_slowpath', # This increases the time to compile when inlined. So we use it as external function.
'vm_search_super_method',
'rb_equal_opt', # Not used from VM and not compilable
]
vm_insnhelper.c
rb_raise(rb_eNoMethodError, "super called outside of method");
}
static void
MJIT_FUNC_EXPORTED void
vm_search_super_method(const rb_execution_context_t *ec, rb_control_frame_t *reg_cfp,
struct rb_calling_info *calling, struct rb_call_info *ci, struct rb_call_cache *cc)
{
(1-1/6)