Bug 1170758 - Make non-debug GraphSpewer constructor explicit. r=nbp
authorBirunthan Mohanathas <birunthan@mohanathas.com>
Tue, 02 Jun 2015 15:10:16 -0700
changeset 270978 c3dceefa3b20d053f51ba11e6e5d8ad28e2c0deb
parent 270977 e2db79eec7fefbcddfc62794960941bc149770ff
child 270979 117d25cbd07c1680aa38a9563e7cfc2d12898870
push id2738
push userwcosta@mozilla.com
push dateWed, 10 Jun 2015 13:39:02 +0000
reviewersnbp
bugs1170758
milestone41.0a1
Bug 1170758 - Make non-debug GraphSpewer constructor explicit. r=nbp
js/src/jit/JitSpewer.h
--- a/js/src/jit/JitSpewer.h
+++ b/js/src/jit/JitSpewer.h
@@ -166,17 +166,17 @@ void DisableChannel(JitSpewChannel chann
 void EnableIonDebugSyncLogging();
 void EnableIonDebugAsyncLogging();
 
 #else
 
 class GraphSpewer
 {
   public:
-    GraphSpewer(TempAllocator *alloc) { }
+    explicit GraphSpewer(TempAllocator *alloc) { }
 
     bool isSpewing() { return false; }
     void init(MIRGraph* graph, JSScript* function) { }
     void beginFunction(JSScript* function) { }
     void spewPass(const char* pass) { }
     void spewPass(const char* pass, BacktrackingAllocator* ra) { }
     void endFunction() { }