mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
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:
parent
613cff9379
commit
ef71d53298
16 changed files with 2418 additions and 32 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue