Bug 858712 - Make AsmJSModule constructor explicit. r=luke
authorBenjamin Peterson <benjamin@python.org>
Thu, 11 Apr 2013 08:08:57 -0400
changeset 128426 73adad5ded336441ca8ad6ade93fe740d127a705
parent 128425 2ceca4816688beb76f75aeb46fd0c8ebaa69df71
child 128427 34296a24149224b669b4dce050f4459677521cc9
push id26304
push userbenjamin@python.org
push dateThu, 11 Apr 2013 12:09:06 +0000
treeherdermozilla-inbound@73adad5ded33 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs858712
milestone23.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 858712 - Make AsmJSModule constructor explicit. r=luke
js/src/ion/AsmJSModule.h
--- a/js/src/ion/AsmJSModule.h
+++ b/js/src/ion/AsmJSModule.h
@@ -329,17 +329,17 @@ class AsmJSModule
 
     HeapPtrPropertyName                   globalArgumentName_;
     HeapPtrPropertyName                   importArgumentName_;
     HeapPtrPropertyName                   bufferArgumentName_;
 
     PostLinkFailureInfo                   postLinkFailureInfo_;
 
   public:
-    AsmJSModule(JSContext *cx)
+    explicit AsmJSModule(JSContext *cx)
       : numGlobalVars_(0),
         numFFIs_(0),
         numFuncPtrTableElems_(0),
         hasArrayView_(false),
         code_(NULL),
         operationCallbackExit_(NULL),
         functionBytes_(0),
         codeBytes_(0),