Backed out 4 changesets (bug 1553482) for causing build bustages in BinASTTokenReaderBase.h CLOSED TREE
Backed out changeset dea9d20a1162 (bug 1553482) Backed out changeset f6e6533c5db2 (bug 1553482) Backed out changeset 82f5e463bcb5 (bug 1553482) Backed out changeset 9db8b5eba797 (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