mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
1. If there is a deleted element in FastModeArray, it should not skip updating its enumeration data
2. If setObjectPreComputedCase decides to make no more caches because of many cacheMisses, it should invalidate previous caches Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
This commit is contained in:
parent
c970656b3f
commit
5cefb08f12
5 changed files with 94 additions and 84 deletions
|
|
@ -162,6 +162,7 @@ bool ArrayObject::deleteOwnProperty(ExecutionState& state, const ObjectPropertyN
|
|||
uint64_t len = getArrayLength(state);
|
||||
if (idx < len) {
|
||||
m_fastModeData[idx] = Value(Value::EmptyValue);
|
||||
ensureObjectRareData()->m_shouldUpdateEnumerateObjectData = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue