Bug 1057082 - Fix static-analysis build sailure on CLOSED TREE. r=tbpl-red
authorKannan Vijayan <kvijayan@mozilla.com>
Fri, 16 Jan 2015 11:57:24 -0500
changeset 251403 99eff4410e330e99b9d694375f5dae34f5107c6b
parent 251402 809520c9cb0a28f5bd820c25dc531ac6d965dcd4
child 251404 fb84b09d75c8f2f0f9fda6d603c7973cba3de3d3
push id4610
push userjlund@mozilla.com
push dateMon, 30 Mar 2015 18:32:55 +0000
treeherdermozilla-beta@4df54044d9ef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstbpl-red
bugs1057082
milestone38.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 1057082 - Fix static-analysis build sailure on CLOSED TREE. r=tbpl-red
js/src/jit/LIR-Common.h
--- a/js/src/jit/LIR-Common.h
+++ b/js/src/jit/LIR-Common.h
@@ -3670,17 +3670,17 @@ class LOsrEntry : public LInstructionHel
 {
   protected:
     Label label_;
     uint32_t frameDepth_;
 
   public:
     LIR_HEADER(OsrEntry)
 
-    LOsrEntry(const LDefinition &temp)
+    explicit LOsrEntry(const LDefinition &temp)
       : frameDepth_(0)
     {
         setTemp(0, temp);
     }
 
     void setFrameDepth(uint32_t depth) {
         frameDepth_ = depth;
     }