Bug 1282408 - Add ignore-initialization-check annotation to parents from NameResolver. r=jorendorff
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 27 Sep 2016 13:07:41 +0300
changeset 428480 cc8b3345c2e53e3181f2214a77b86de45b0d000c
parent 428479 3396fc568d66310676d816454359222430ddc6af
child 428481 9fbd30932290df8363fdeb6c1923fed39dba9cbc
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1282408
milestone57.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 1282408 - Add ignore-initialization-check annotation to parents from NameResolver. r=jorendorff MozReview-Commit-ID: 7zCqBnVAD88
js/src/frontend/NameFunctions.cpp
--- a/js/src/frontend/NameFunctions.cpp
+++ b/js/src/frontend/NameFunctions.cpp
@@ -22,16 +22,17 @@ using namespace js::frontend;
 namespace {
 
 class NameResolver
 {
     static const size_t MaxParents = 100;
 
     JSContext* cx;
     size_t nparents;                /* number of parents in the parents array */
+    MOZ_INIT_OUTSIDE_CTOR
     ParseNode* parents[MaxParents]; /* history of ParseNodes we've been looking at */
     StringBuffer* buf;              /* when resolving, buffer to append to */
 
     /* Test whether a ParseNode represents a function invocation */
     bool call(ParseNode* pn) {
         return pn && pn->isKind(PNK_CALL);
     }