Unreviewed, rolling out r166876.
[WebKit-https.git] / Source / JavaScriptCore / runtime / VM.cpp
index 3f7fb0e..0768005 100644 (file)
@@ -496,7 +496,7 @@ void VM::resetDateCache()
 {
     localTimeOffsetCache.reset();
     cachedDateString = String();
-    cachedDateStringValue = std::numeric_limits<double>::quiet_NaN();
+    cachedDateStringValue = QNaN;
     dateInstanceCache.reset();
 }