Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index 9df5ccaa9992e213367558a885ca42f5ba07ee92..a817a285a4ed65408e85dafe30cdb1345d607c8f 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -1,8 +1,6 @@ |
// Copyright 2012 the V8 project authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
-#include <limits> |
#include "src/v8.h" |
@@ -3876,7 +3874,7 @@ |
// Math.pow(-Infinity, 0.5) == Infinity |
// Math.sqrt(-Infinity) == NaN |
Label done; |
- __ Move(temp, std::numeric_limits<double>::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. |