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:
seonghyun kim 2017-01-12 21:28:24 +09:00
commit 109be415d1
22 changed files with 268 additions and 234 deletions

View file

@ -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();