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