Index: test/cctest/test-assembler-x87.cc |
diff --git a/test/cctest/test-assembler-x87.cc b/test/cctest/test-assembler-x87.cc |
index 8341f9b49ee7f9b77b1ffe92f4c5fca1763fda96..17ec2f2794e7bd11a4c22ef2d4b54a52a3686e33 100644 |
--- a/test/cctest/test-assembler-x87.cc |
+++ b/test/cctest/test-assembler-x87.cc |
@@ -229,7 +229,7 @@ TEST(AssemblerIa329) { |
CHECK_EQ(kLess, f(1.1, 2.2)); |
CHECK_EQ(kEqual, f(2.2, 2.2)); |
CHECK_EQ(kGreater, f(3.3, 2.2)); |
- CHECK_EQ(kNaN, f(v8::base::OS::nan_value(), 1.1)); |
+ CHECK_EQ(kNaN, f(std::numeric_limits<double>::quiet_NaN(), 1.1)); |
} |