зеркало из https://github.com/github/ruby.git
Revert "Introduce inline cache for invokesuper"
This reverts commit d147ad6231
.
because failing on CI:
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/1916925
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e896292d64
Коммит
22fd30e605
|
@ -2796,13 +2796,7 @@ vm_search_super_method(const rb_control_frame_t *reg_cfp, struct rb_call_info *c
|
|||
CC_SET_FASTPATH(cc, vm_call_method_missing, TRUE);
|
||||
}
|
||||
else {
|
||||
#if OPT_INLINE_METHOD_CACHE
|
||||
if (LIKELY(GET_GLOBAL_METHOD_STATE() == cc->method_state && RCLASS_SERIAL(klass) == cc->class_serial &&
|
||||
ci->mid == cc->me->def->original_id))
|
||||
return;
|
||||
cc->method_state = GET_GLOBAL_METHOD_STATE();
|
||||
cc->class_serial = RCLASS_SERIAL(klass);
|
||||
#endif
|
||||
/* TODO: use inline cache */
|
||||
cc->me = rb_callable_method_entry(klass, ci->mid);
|
||||
CC_SET_FASTPATH(cc, vm_call_super_method, TRUE);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче