Bug 1516644 - MBasicBlock::MBasicBlock: guard lineno_ and columnIndex_ initialisations correctly. r=nbp.
authorJulian Seward <jseward@acm.org>
Mon, 25 Feb 2019 17:29:01 +0100
changeset 461078 9fe57a98497d82eaf129fe52c2759b7b9faa5c5b
parent 461077 da2011424e20b45490cf10e1b821b6baf5d70e23
child 461079 5834259f14f88725f3379d5d03b082713e490f1f
push id35618
push usershindli@mozilla.com
push dateTue, 26 Feb 2019 16:54:44 +0000
treeherdermozilla-central@d326a9d5f77b [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()); }