Bug 1199719 werr.2 - Remove some of the uninitialized variable noise. r=bbouvier
☠☠ backed out by f11cf71a5cca ☠ ☠
authorNicolas B. Pierron <nicolas.b.pierron@mozilla.com>
Thu, 10 Sep 2015 22:36:09 +0200
changeset 294464 9323fe8bdd2841f982ad6d1c0eea3fcb1a97b6fe
parent 294463 05774944054d46c9b97818ba3aed9b79a0144587
child 294465 03b7e2925296823b91ef42643bfad18ad94195fd
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier
bugs1199719
milestone43.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 1199719 werr.2 - Remove some of the uninitialized variable noise. r=bbouvier
js/src/asmjs/AsmJSModule.cpp
--- a/js/src/asmjs/AsmJSModule.cpp
+++ b/js/src/asmjs/AsmJSModule.cpp
@@ -1433,17 +1433,19 @@ AsmJSModule::CodeRange::CodeRange(AsmJSE
 
     MOZ_ASSERT(begin_ < profilingReturn_);
     MOZ_ASSERT(profilingReturn_ < end_);
 }
 
 void
 AsmJSModule::CodeRange::updateOffsets(jit::MacroAssembler& masm)
 {
-    uint32_t entryBefore, profilingJumpBefore, profilingEpilogueBefore;
+    uint32_t entryBefore = 0;
+    uint32_t profilingJumpBefore = 0;
+    uint32_t profilingEpilogueBefore = 0;
     if (isFunction()) {
         entryBefore = entry();
         profilingJumpBefore = profilingJump();
         profilingEpilogueBefore = profilingEpilogue();
     }
 
     begin_ = masm.actualOffset(begin_);
     profilingReturn_ = masm.actualOffset(profilingReturn_);