mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
When evaluate assigment expression, we should resolve reference on leftside first (#424)
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
919b62c40e
commit
c4f82fe5ee
119 changed files with 1663 additions and 701 deletions
|
|
@ -55,14 +55,6 @@ InterpretedCodeBlock* ScriptParser::generateCodeBlockTreeFromASTWalker(Context*
|
|||
#endif
|
||||
|
||||
if (parentCodeBlock) {
|
||||
if (scopeCtx->m_hasEvaluateBindingId) {
|
||||
InterpretedCodeBlock* c = codeBlock;
|
||||
while (c) {
|
||||
c->m_canAllocateEnvironmentOnStack = false;
|
||||
c = c->parentCodeBlock();
|
||||
}
|
||||
}
|
||||
|
||||
if (!codeBlock->canUseIndexedVariableStorage()) {
|
||||
InterpretedCodeBlock* c = codeBlock;
|
||||
while (c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue