mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
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:
parent
ac77c0ad26
commit
d93ccc14fe
5 changed files with 121 additions and 76 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue