Project

General

Profile

Feature #15085 ยป export-big-func.patch

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

View differences:

tool/transform_mjit_header.rb
37 37

  
38 38
  IGNORED_FUNCTIONS = [
39 39
    'rb_vm_search_method_slowpath', # This increases the time to compile when inlined. So we use it as external function.
40
    'vm_search_super_method',
40 41
    'rb_equal_opt', # Not used from VM and not compilable
41 42
  ]
42 43

  
vm_insnhelper.c
2468 2468
    rb_raise(rb_eNoMethodError, "super called outside of method");
2469 2469
}
2470 2470

  
2471
static void
2471
MJIT_FUNC_EXPORTED  void
2472 2472
vm_search_super_method(const rb_execution_context_t *ec, rb_control_frame_t *reg_cfp,
2473 2473
		       struct rb_calling_info *calling, struct rb_call_info *ci, struct rb_call_cache *cc)
2474 2474
{