Backed out 4 changesets (bug 1553482) for build bustages in BinASTTokenReaderBase.h CLOSED TREE
Backed out changeset 49278023aa7d (bug 1553482) Backed out changeset 57a5c8689ed3 (bug 1553482) Backed out changeset c50879a48ff8 (bug 1553482) Backed out changeset 5570e3e6c5e5 (bug 1553482)
This commit is contained in:
@@ -133,7 +133,7 @@ JS::Result<ParseNode*> BinASTParserPerTokenizer<Tok>::parseAux(
|
||||
MOZ_TRY(tokenizer_->readHeader());
|
||||
|
||||
ParseNode* result(nullptr);
|
||||
const Context topContext((RootContext()));
|
||||
const Context topContext(Context::topLevel());
|
||||
MOZ_TRY_VAR(result, asFinalParser()->parseProgram(topContext));
|
||||
|
||||
mozilla::Maybe<GlobalScope::Data*> bindings =
|
||||
@@ -196,7 +196,7 @@ JS::Result<FunctionNode*> BinASTParserPerTokenizer<Tok>::parseLazyFunction(
|
||||
|
||||
// Inject a toplevel context (i.e. no parent) to parse the lazy content.
|
||||
// In the future, we may move this to a more specific context.
|
||||
const Context context((RootContext()));
|
||||
const Context context(Context::topLevel());
|
||||
MOZ_TRY(
|
||||
(asFinalParser()->*parseFunc)(func->nargs(), ¶ms, &tmpBody, context));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user