Bug 774364 - Part 5: Add missing explicit keyword. r=me
authorTooru Fujisawa <arai_a@mac.com>
Thu, 10 Sep 2015 13:30:35 +0900
changeset 294318 1739b4d8202c6a1f17338112a413a999f9b82eff
parent 294317 4ed0c752ce47dab0affd2b3da58d008a9283e7b9
child 294319 3aa15d0662f998d5817b212786ad1bf4505e59d8
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)
reviewersme
bugs774364
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 774364 - Part 5: Add missing explicit keyword. r=me
js/src/jit/Registers.h
--- a/js/src/jit/Registers.h
+++ b/js/src/jit/Registers.h
@@ -98,17 +98,17 @@ struct Register64
 #ifdef JS_PUNBOX64
     Register reg;
 #else
     Register high;
     Register low;
 #endif
 
 #ifdef JS_PUNBOX64
-    MOZ_CONSTEXPR Register64(Register r)
+    explicit MOZ_CONSTEXPR Register64(Register r)
       : reg(r)
     {}
 #else
     MOZ_CONSTEXPR Register64(Register h, Register l)
       : high(h), low(l)
     {}
 #endif
 };