mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
implement bad time
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
f9a3715ae6
commit
5066ff44b6
4 changed files with 22 additions and 6 deletions
|
|
@ -10,6 +10,11 @@ ArrayObject::ArrayObject(ExecutionState& state)
|
|||
m_structure = state.context()->defaultStructureForArrayObject();
|
||||
m_values[ESCARGOT_OBJECT_BUILTIN_PROPERTY_NUMBER] = Value(0);
|
||||
setPrototype(state, state.context()->globalObject()->arrayPrototype());
|
||||
|
||||
if (UNLIKELY(state.context()->didSomePrototypeObjectDefineIndexedProperty())) {
|
||||
ensureObjectRareData()->m_isFastModeArrayObject = false;
|
||||
ASSERT(m_fastModeData.size() == 0);
|
||||
}
|
||||
}
|
||||
|
||||
ObjectGetResult ArrayObject::getOwnProperty(ExecutionState& state, const ObjectPropertyName& P) ESCARGOT_OBJECT_SUBCLASS_MUST_REDEFINE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue