Fix LCache invalidation issue for native properties during GC. (#2530)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2018-09-17 17:31:50 +02:00
committed by GitHub
parent 6c21c08b0e
commit 3031a11f86
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -545,7 +545,8 @@ ecma_gc_free_object (ecma_object_t *object_p) /**< object to free */
{
ecma_gc_free_native_pointer (property_p);
}
else if (prop_iter_p->types[i] != ECMA_PROPERTY_TYPE_DELETED)
if (prop_iter_p->types[i] != ECMA_PROPERTY_TYPE_DELETED)
{
ecma_free_property (object_p, name_cp, property_p);
}