Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index d07a3387d0fac2d65feecf538315a17ad45f2749..0e6a03d71650cceb1fec2201698d6a936b86a934 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.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" |
@@ -4357,8 +4355,7 @@ |
} else { |
int sign = Double(c_left->DoubleValue()).Sign() * |
Double(c_right->DoubleValue()).Sign(); // Right could be -0. |
- return H_CONSTANT_DOUBLE(sign * |
- std::numeric_limits<double>::infinity()); |
+ return H_CONSTANT_DOUBLE(sign * V8_INFINITY); |
} |
} |
} |