Index: test/cctest/test-types.cc |
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc |
index e8f20be9b02d46ed10c2ca913f5740d636e80253..e5c9bbe29a3a9441b81d4c8f2a4124d494a6e6c5 100644 |
--- a/test/cctest/test-types.cc |
+++ b/test/cctest/test-types.cc |
@@ -558,7 +558,7 @@ struct Tests : Rep { |
CHECK(T.Constant(fac->NewNumber(-10.1))->Is(T.OtherNumber)); |
CHECK(T.Constant(fac->NewNumber(10e60))->Is(T.OtherNumber)); |
CHECK(T.Constant(fac->NewNumber(-1.0*0.0))->Is(T.MinusZero)); |
- CHECK(T.Constant(fac->NewNumber(0.0/0.0))->Is(T.NaN)); |
+ CHECK(T.Constant(fac->NewNumber(OS::nan_value()))->Is(T.NaN)); |
CHECK(T.Constant(fac->NewNumber(1.0/0.0))->Is(T.OtherNumber)); |
CHECK(T.Constant(fac->NewNumber(-1.0/0.0))->Is(T.OtherNumber)); |
} |