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:
Patrick Kim 2019-09-11 17:00:19 +09:00 committed by Hyukwoo Park
commit c4f82fe5ee
119 changed files with 1663 additions and 701 deletions

View file

@ -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) {