Bug 1516644 - MBasicBlock::MBasicBlock: guard lineno_ and columnIndex_ initialisations correctly. r=nbp.
☠☠ backed out by da2011424e20 ☠ ☠
authorJulian Seward <jseward@acm.org>
Mon, 25 Feb 2019 17:29:01 +0100
changeset 518958 4d9aebc3fabb38f3f19609143e2614bef8828433
parent 518900 41885fe2a2933d39205d32faec31c4c1402f0820
child 518959 da2011424e20b45490cf10e1b821b6baf5d70e23
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1516644
milestone67.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 1516644 - MBasicBlock::MBasicBlock: guard lineno_ and columnIndex_ initialisations correctly. r=nbp.
js/src/jit/MIRGraph.cpp
--- a/js/src/jit/MIRGraph.cpp
+++ b/js/src/jit/MIRGraph.cpp
@@ -484,17 +484,17 @@ MBasicBlock::MBasicBlock(MIRGraph& graph
       loopDepth_(0),
       kind_(kind),
       mark_(false),
       immediatelyDominated_(graph.alloc()),
       immediateDominator_(nullptr),
       trackedSite_(site),
       hitCount_(0),
       hitState_(HitState::NotDefined)
-#if defined(JS_ION_PERF)
+#if defined(JS_ION_PERF) || defined(DEBUG)
       ,
       lineno_(0u),
       columnIndex_(0u)
 #endif
 {
 }
 
 bool MBasicBlock::init() { return slots_.init(graph_.alloc(), info_.nslots()); }