Index: test/cctest/test-utils.cc |
diff --git a/test/cctest/test-utils.cc b/test/cctest/test-utils.cc |
index 05a12f5c2378ec4466cf76ca7a6fb1a200f774f8..46adc0b23d8d5e51d30cb50981e95acab93dbc20 100644 |
--- a/test/cctest/test-utils.cc |
+++ b/test/cctest/test-utils.cc |
@@ -72,7 +72,7 @@ TEST(Utils1) { |
CHECK_EQ(INT_MAX, FastD2IChecked(1.0e100)); |
CHECK_EQ(INT_MIN, FastD2IChecked(-1.0e100)); |
- CHECK_EQ(INT_MIN, FastD2IChecked(v8::base::OS::nan_value())); |
+ CHECK_EQ(INT_MIN, FastD2IChecked(std::numeric_limits<double>::quiet_NaN())); |
} |