1. fix bug around catch variable binding, env binding

2. fix bug in StringBuilder
3. add vendor test data xml files

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
seonghyun kim 2017-05-15 16:44:54 +09:00
commit ef71d53298
16 changed files with 2418 additions and 32 deletions

View file

@ -76,10 +76,10 @@ InterpretedCodeBlock* ScriptParser::generateCodeBlockTreeFromASTWalker(Context*
}
}
if (codeBlock->hasEvalWithCatchYield() || codeBlock->isFunctionDeclarationWithSpecialBinding()) {
if (codeBlock->hasEvalWithYield() || codeBlock->isFunctionDeclarationWithSpecialBinding()) {
InterpretedCodeBlock* c = codeBlock;
while (c) {
c->notifySelfOrChildHasEvalWithCatchYield();
c->notifySelfOrChildHasEvalWithYield();
c = c->parentCodeBlock();
}
}