summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-05-01 16:58:29 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-24 16:02:18 -0700
commit93a49da161b5f985d5a202f515bc67fc5de29414 (patch)
tree7bbe6c869c87f12d36931c7ef3821850e22c382c /src/lib/eo/eo.c
parentae5d0005d3f6cd7825b693c1269265659286bd83 (diff)
eo: optimize efl object reuse by limiting the amount of call to pointer translation.
Differential Revision: https://phab.enlightenment.org/D6088
Diffstat (limited to 'src/lib/eo/eo.c')
-rw-r--r--src/lib/eo/eo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 3f8dc28..d034c70 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1030,7 +1030,7 @@ efl_reuse(const Eo *eo_id)
1030 efl_object_override(obj, NULL); 1030 efl_object_override(obj, NULL);
1031 if (!efl_parent_get(obj)) 1031 if (!efl_parent_get(obj))
1032 _efl_object_parent_sink_set(obj, EINA_FALSE); 1032 _efl_object_parent_sink_set(obj, EINA_FALSE);
1033 _efl_object_reuse(obj); 1033 _efl_object_reuse(_obj);
1034 1034
1035#ifdef EO_DEBUG 1035#ifdef EO_DEBUG
1036 _eo_log_obj_ref_op(_obj, EO_REF_OP_REUSE); 1036 _eo_log_obj_ref_op(_obj, EO_REF_OP_REUSE);