Index: test/cctest/test-assembler-ia32.cc |
diff --git a/test/cctest/test-assembler-ia32.cc b/test/cctest/test-assembler-ia32.cc |
index f59c3c4aa1878e8cf6141fddc2169d7525ae2db8..0e3b4456f66b059f9a12ff3323bb9680ce51e21b 100644 |
--- a/test/cctest/test-assembler-ia32.cc |
+++ b/test/cctest/test-assembler-ia32.cc |
@@ -354,7 +354,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)); |
} |