Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 07f32de344b4f2049b2adef7a9b3b7068eeb68d4..d60659ba9b90588fa0ca18ff71b0de7f935dea33 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -3837,7 +3837,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. |