eo: use eina_prefetch

we should prefetch the func pointer here.
Later on we are accessing the func pointer in a streak, after that, we
do not use it anymore.

Differential Revision: https://phab.enlightenment.org/D11593
This commit is contained in:
Marcel Hollerbach 2020-03-24 20:10:39 +01:00
parent adbc82b33e
commit 94b31a640e
1 changed files with 1 additions and 0 deletions

View File

@ -577,6 +577,7 @@ obj_super_back:
else
{
func = _vtable_func_get(vtable, op);
EINA_PREFETCH_NOCACHE(func);
// this is not very likely to happen - but may if its an invalid
// call or a composite object, but either way, it's not very likely
// so make it a goto to save on instruction cache