Index: test/cctest/test-utils.cc |
diff --git a/test/cctest/test-utils.cc b/test/cctest/test-utils.cc |
index 6cd931da4e5822e9c9368b4f16741ebdbe53c296..c83acb909ab466a427b35252f2f8378950051679 100644 |
--- a/test/cctest/test-utils.cc |
+++ b/test/cctest/test-utils.cc |
@@ -70,7 +70,7 @@ TEST(Utils1) { |
CHECK_EQ(INT_MAX, FastD2IChecked(1.0e100)); |
CHECK_EQ(INT_MIN, FastD2IChecked(-1.0e100)); |
- CHECK_EQ(INT_MIN, FastD2IChecked(NAN)); |
+ CHECK_EQ(INT_MIN, FastD2IChecked(OS::nan_value())); |
} |