Bug 1592433 - Hoist Deferred Allocation mode from FunctionTreeHolder to ParseInfo r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D52726
This commit is contained in:
@@ -92,7 +92,7 @@ BinASTParserPerTokenizer<Tok>::BinASTParserPerTokenizer(
|
||||
lazyScript_(cx, lazyScript),
|
||||
handler_(cx, parseInfo.allocScope.alloc(), nullptr, SourceKind::Binary),
|
||||
variableDeclarationKind_(VariableDeclarationKind::Var),
|
||||
treeHolder_(cx, FunctionTreeHolder::Mode::Eager) {
|
||||
treeHolder_(cx) {
|
||||
MOZ_ASSERT_IF(lazyScript_, lazyScript_->isBinAST());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user