Bug 1199719 werr.2 - Remove some of the uninitialized variable noise. r=bbouvier
authorNicolas B. Pierron <nicolas.b.pierron@mozilla.com>
Fri, 11 Sep 2015 13:47:51 +0200
changeset 294592 50a74ef49cd3bc71e1aba92946a1b46fc1791d1d
parent 294591 0f3035d42511750043bac89e6d15084e62d4027f
child 294593 f839fb3bd01ec9251ae1d4bda83230e5cd00bd3d
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_);