mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Improve performance (#490)
* Initialize function name binding in interpreter * If there are so many var variables on function, we should make hash map for finding var fast Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
2445b68221
commit
82f05fdd29
14 changed files with 394 additions and 298 deletions
|
|
@ -201,7 +201,6 @@ void ScriptParser::generateCodeBlockTreeFromASTWalkerPostProcess(InterpretedCode
|
|||
err->index = cb->m_sourceElementStart.index;
|
||||
throw * err;
|
||||
}
|
||||
cb->m_astContext = nullptr;
|
||||
}
|
||||
|
||||
ScriptParser::InitializeScriptResult ScriptParser::initializeScript(StringView scriptSource, String* fileName, bool isModule, InterpretedCodeBlock* parentCodeBlock, bool strictFromOutside, bool isEvalCodeInFunction, bool isEvalMode, bool inWithOperation, size_t stackSizeRemain, bool needByteCodeGeneration, bool allowSuperCall, bool allowSuperProperty, bool allowNewTarget)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue