Bug 1585246 - Update BinAST.yaml to use ParseInfo. r=Yoric
authorTooru Fujisawa <arai_a@mac.com>
Tue, 01 Oct 2019 07:50:55 +0000
changeset 495784 81d18eea7ffdd25346f27c826d6846e7afb43c64
parent 495783 d51db2d653da8b4a5aeb47ea9f3d95d5945ee797
child 495785 5b2d7168403010744a4ff11cc01f558d849323b3
push id114140
push userdvarga@mozilla.com
push dateWed, 02 Oct 2019 18:04:51 +0000
treeherdermozilla-inbound@32eb0ea893f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1585246
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1585246 - Update BinAST.yaml to use ParseInfo. r=Yoric Differential Revision: https://phabricator.services.mozilla.com/D47730
js/src/frontend/BinAST.yaml
--- a/js/src/frontend/BinAST.yaml
+++ b/js/src/frontend/BinAST.yaml
@@ -136,21 +136,21 @@ hpp:
         using UpdateOperator = binast::UpdateOperator;
         using VariableDeclarationKind = binast::VariableDeclarationKind;
 
        public:
         // BinASTParserPerTokenizer types.
         using AssertedScopeKind = typename Base::AssertedScopeKind;
 
        public:
-        BinASTParser(JSContext* cx, LifoAlloc& alloc, UsedNameTracker& usedNames,
+        BinASTParser(JSContext* cx, ParseInfo& parseInfo,
                      const JS::ReadOnlyCompileOptions& options,
                      HandleScriptSourceObject sourceObject,
                      Handle<LazyScript*> lazyScript = nullptr)
-            : BinASTParserPerTokenizer<Tok>(cx, alloc, usedNames, options,
+            : BinASTParserPerTokenizer<Tok>(cx, parseInfo, options,
                                             sourceObject, lazyScript) {}
         ~BinASTParser() {}
 
        protected:
         // BinASTParserBase fields.
         using Base::cx_;
 
         using Base::alloc_;