No bug - Make constructor explicit. rs=Ms2ger
authorBenjamin Peterson <benjamin@python.org>
Thu, 09 May 2013 13:09:09 -0500
changeset 138193 66080091cd006699608df400547c59412c4d08b1
parent 138192 75d1409ae0908a1e517a4be6f0a4bd9d5ab83e1f
child 138194 10cb7bc4cc588dc7e2a9956a29ec50732402663e
push id3752
push userlsblakk@mozilla.com
push dateMon, 13 May 2013 17:21:10 +0000
treeherdermozilla-aurora@1580544aef0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
milestone23.0a1
No bug - Make constructor explicit. rs=Ms2ger
js/src/ion/BytecodeAnalysis.h
--- a/js/src/ion/BytecodeAnalysis.h
+++ b/js/src/ion/BytecodeAnalysis.h
@@ -35,17 +35,17 @@ struct BytecodeInfo
 };
 
 class BytecodeAnalysis
 {
     JSScript *script_;
     Vector<BytecodeInfo, 0, IonAllocPolicy> infos_;
 
   public:
-    BytecodeAnalysis(JSScript *script);
+    explicit BytecodeAnalysis(JSScript *script);
 
     bool init();
 
     BytecodeInfo &info(jsbytecode *pc) {
         JS_ASSERT(infos_[pc - script_->code].initialized);
         return infos_[pc - script_->code];
     }