mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
1. remove Increment, Decrement opcode
2. implement fast String buffer access 3. remove hash from AtomicStringMap 4. implement simple dtoa cache Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
2825008995
commit
109be415d1
22 changed files with 268 additions and 234 deletions
|
|
@ -216,7 +216,7 @@ bool ArrayObject::setFastModeValue(ExecutionState& state, const ObjectPropertyNa
|
|||
if (LIKELY(P.isUIntType())) {
|
||||
idx = P.uintValue();
|
||||
} else {
|
||||
idx = P.toValue(state).toArrayIndex(state);
|
||||
idx = P.string(state)->tryToUseAsArrayIndex();
|
||||
}
|
||||
if (LIKELY(idx != Value::InvalidArrayIndexValue)) {
|
||||
uint32_t len = m_fastModeData.size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue