summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-24 20:10:39 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-25 10:20:13 +0100
commit94b31a640e6805645af7558200fbbbabdd29c44b (patch)
tree3dc08215602434ce922b0ec972c59f30210d3235
parentadbc82b33eaca46b1ac502136e6330486d364b8b (diff)
eo: use eina_prefetchdevs/bu5hm4n/eo_work
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
-rw-r--r--src/lib/eo/eo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 499a4800d1..23a6b35ba0 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -577,6 +577,7 @@ obj_super_back:
577 else 577 else
578 { 578 {
579 func = _vtable_func_get(vtable, op); 579 func = _vtable_func_get(vtable, op);
580 EINA_PREFETCH_NOCACHE(func);
580 // this is not very likely to happen - but may if its an invalid 581 // this is not very likely to happen - but may if its an invalid
581 // call or a composite object, but either way, it's not very likely 582 // call or a composite object, but either way, it's not very likely
582 // so make it a goto to save on instruction cache 583 // so make it a goto to save on instruction cache