1. fix return operation bug in with statement

2. optimize JSON.parse function
3. exclude few useless vendor test cases

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
seonghyun kim 2017-03-20 16:44:08 +09:00
commit d93ccc14fe
5 changed files with 121 additions and 76 deletions

View file

@ -1715,10 +1715,8 @@ NEVER_INLINE Value ByteCodeInterpreter::withOperation(ExecutionState& state, Wit
record->m_count--;
if (record->count()) {
state.rareData()->m_controlFlowRecord->back() = record;
return Value();
} else {
return record->value();
}
return record->value();
}
} else {
programCounter = jumpTo(codeBuffer, code->m_withEndPostion);