Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index 35839e6d8b5fcb3f4d3eef779245514b65571d73..ecf08d014f1a83563b994d413c950cdcac759c8d 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -3869,7 +3869,7 @@ void LCodeGen::DoMathPowHalf(LMathPowHalf* instr) { |
// Math.pow(-Infinity, 0.5) == Infinity |
// Math.sqrt(-Infinity) == NaN |
Label done; |
- __ Move(temp, -V8_INFINITY); |
+ __ Move(temp, static_cast<double>(-V8_INFINITY)); |
__ BranchF(USE_DELAY_SLOT, &done, NULL, eq, temp, input); |
// Set up Infinity in the delay slot. |
// result is overwritten if the branch is not taken. |