mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-31 22:29:56 +00:00
Bug 1299519.
This commit is contained in:
@@ -7096,8 +7096,10 @@ Parser<ParseHandler>::generatorComprehensionLambda(GeneratorKind comprehensionKi
|
||||
* kid and could be removed from pc->sc.
|
||||
*/
|
||||
genFunbox->anyCxFlags = outerpc->sc->anyCxFlags;
|
||||
if (outerpc->sc->isFunctionBox())
|
||||
genFunbox->funCxFlags = outerpc->sc->asFunctionBox()->funCxFlags;
|
||||
if (outerpc->sc->isFunctionBox()) {
|
||||
genFunbox->funCxFlags =
|
||||
outerpc->sc->asFunctionBox()->flagsForNestedGeneratorComprehensionLambda();
|
||||
}
|
||||
|
||||
MOZ_ASSERT(genFunbox->generatorKind() == comprehensionKind);
|
||||
genFunbox->inGenexpLambda = true;
|
||||
|
||||
Reference in New Issue
Block a user