mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Fix various things (#476)
* Fixup canDeclareName in ASTContext * Add more callstack information on API * Add onDelete callback on VMInstance * Add BloomFilter as util * Use BloomFilter in ASTFunctionContext for find out variable name existence * Optimize parser using InlineStorageVector Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
bb7c12cfd5
commit
f75945700a
16 changed files with 407 additions and 43 deletions
|
|
@ -199,6 +199,7 @@ 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue