Fix compilation errors when LCACHE is disabled. (#1570)
JerryScript-DCO-1.0-Signed-off-by: Slavey Karadzhov slaff@attachix.com
This commit is contained in:
@@ -127,6 +127,8 @@ ecma_lcache_insert (ecma_object_t *object_p, /**< object */
|
|||||||
entry_p->prop_p = prop_p;
|
entry_p->prop_p = prop_p;
|
||||||
|
|
||||||
ecma_set_property_lcached (entry_p->prop_p, true);
|
ecma_set_property_lcached (entry_p->prop_p, true);
|
||||||
|
#else /* CONFIG_ECMA_LCACHE_DISABLE */
|
||||||
|
JERRY_UNUSED (name_cp);
|
||||||
#endif /* !CONFIG_ECMA_LCACHE_DISABLE */
|
#endif /* !CONFIG_ECMA_LCACHE_DISABLE */
|
||||||
} /* ecma_lcache_insert */
|
} /* ecma_lcache_insert */
|
||||||
|
|
||||||
@@ -266,6 +268,8 @@ ecma_lcache_invalidate (ecma_object_t *object_p, /**< object */
|
|||||||
|
|
||||||
/* The property must be present. */
|
/* The property must be present. */
|
||||||
JERRY_UNREACHABLE ();
|
JERRY_UNREACHABLE ();
|
||||||
|
#else /* CONFIG_ECMA_LCACHE_DISABLE */
|
||||||
|
JERRY_UNUSED (name_cp);
|
||||||
#endif /* !CONFIG_ECMA_LCACHE_DISABLE */
|
#endif /* !CONFIG_ECMA_LCACHE_DISABLE */
|
||||||
} /* ecma_lcache_invalidate */
|
} /* ecma_lcache_invalidate */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user