Index: test/cctest/compiler/codegen-tester.cc |
diff --git a/test/cctest/compiler/codegen-tester.cc b/test/cctest/compiler/codegen-tester.cc |
index 5311001714c87aeabb8d68e08352ade30a921105..caffbb7c357046e97b92cd362514da1d0fa18015 100644 |
--- a/test/cctest/compiler/codegen-tester.cc |
+++ b/test/cctest/compiler/codegen-tester.cc |
@@ -142,7 +142,7 @@ TEST(CompareWrapper) { |
// Check NaN handling. |
double nan = v8::base::OS::nan_value(); |
- double inf = V8_INFINITY; |
+ double inf = std::numeric_limits<double>::infinity(); |
CHECK_EQ(false, wFloat64Equal.Float64Compare(nan, 0.0)); |
CHECK_EQ(false, wFloat64Equal.Float64Compare(nan, 1.0)); |
CHECK_EQ(false, wFloat64Equal.Float64Compare(nan, inf)); |