Slide 112
Slide 112 text
palkan_tula
palkan
112
static VALUE
vm_call_method_nome(rb_execution_context_t *ec,
rb_control_frame_t *cfp, struct rb_calling_info *calling,
const struct rb_call_info *ci, struct rb_call_cache *cc)
{
const int stat = ci_missing_reason(ci);
if (ci ->mid == idMethodMissing) {
vm_raise_method_missing(ec, calling ->argc, argv,
calling ->recv, stat);
} else {
cc ->aux.method_missing_reason = stat;
CI_SET_FASTPATH(cc, vm_call_method_missing, 1);
return vm_call_method_missing(ec, cfp, calling, ci, cc);
}
}
METHOD DISPATCH