Index: test/cctest/test-types.cc |
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc |
index ebef527dd0b3a64b019bdcf739e59f9ceef6f73d..b84520121991017b0d672106d663a8cda75e9ed8 100644 |
--- a/test/cctest/test-types.cc |
+++ b/test/cctest/test-types.cc |
@@ -338,7 +338,8 @@ struct Tests : Rep { |
CHECK(T.Constant(fac->NewNumber(10e60))->Is(T.PlainNumber)); |
CHECK(!T.Constant(fac->NewNumber(10e60))->Is(T.Integral32)); |
CHECK(T.Constant(fac->NewNumber(-1.0*0.0))->Is(T.MinusZero)); |
- CHECK(T.Constant(fac->NewNumber(v8::base::OS::nan_value()))->Is(T.NaN)); |
+ CHECK(T.Constant(fac->NewNumber(std::numeric_limits<double>::quiet_NaN())) |
+ ->Is(T.NaN)); |
CHECK(T.Constant(fac->NewNumber(V8_INFINITY))->Is(T.PlainNumber)); |
CHECK(!T.Constant(fac->NewNumber(V8_INFINITY))->Is(T.Integral32)); |
CHECK(T.Constant(fac->NewNumber(-V8_INFINITY))->Is(T.PlainNumber)); |