Index: test/cctest/compiler/test-run-machops.cc |
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc |
index 974d4cef5436cffaa83281cce136ed6f085f3206..a5a6823303a7c2d8783ab8b5449118d41b0c3a7e 100644 |
--- a/test/cctest/compiler/test-run-machops.cc |
+++ b/test/cctest/compiler/test-run-machops.cc |
@@ -3890,7 +3890,7 @@ TEST(RunFloat64UnorderedCompare) { |
m.machine()->Float64LessThan(), |
m.machine()->Float64LessThanOrEqual()}; |
- double nan = v8::base::OS::nan_value(); |
+ double nan = std::numeric_limits<double>::quiet_NaN(); |
FOR_FLOAT64_INPUTS(i) { |
for (size_t o = 0; o < arraysize(operators); ++o) { |
@@ -4385,9 +4385,9 @@ TEST(RunTruncateFloat64ToInt32P) { |
{-1.5, -1}, |
{5.5, 5}, |
{-5.0, -5}, |
- {v8::base::OS::nan_value(), 0}, |
+ {std::numeric_limits<double>::quiet_NaN(), 0}, |
{std::numeric_limits<double>::infinity(), 0}, |
- {-v8::base::OS::nan_value(), 0}, |
+ {-std::numeric_limits<double>::quiet_NaN(), 0}, |
{-std::numeric_limits<double>::infinity(), 0}, |
{4.94065645841e-324, 0}, |
{-4.94065645841e-324, 0}, |