mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
Use external storage instead of ByteCodeCodeData for generator, async function
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
0950b63ebb
commit
033fb60f2a
13 changed files with 31 additions and 52 deletions
|
|
@ -3398,9 +3398,6 @@ NEVER_INLINE Value ByteCodeInterpreter::executionResumeOperation(ExecutionState*
|
|||
|
||||
state = data->m_executionState;
|
||||
|
||||
// remove extra code
|
||||
byteCodeBlock->m_code.resize(data->m_extraDataByteCodePosition);
|
||||
|
||||
// update program counter
|
||||
programCounter = data->m_byteCodePosition + (size_t)byteCodeBlock->m_code.data();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue