Rework property hashmap delete. (#1543)

Triggering hashmap recreate during property delete may damage the
property chain list, so recreate postponed after the delete is done.

Next attempt to fix #1533.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2017-01-27 15:31:27 +01:00
committed by GitHub
parent 0547b31c16
commit 0c3ef892c0
4 changed files with 68 additions and 28 deletions
+10
View File
@@ -24,3 +24,13 @@ for (var i = 0; i < 200; ++i)
delete a[i]
a[0] = 5
a = [];
for (var i = 0; i < 200; ++i)
a[i] = 5;
a.length = 0
for (var i = 0; i < 200; ++i)
a[i] = 5;