Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: src/date.js

Issue 112003005: Initialize Date parse cache with SMI instead of double to workaround sharing mutable heap numbers i… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-280531.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/date.js
diff --git a/src/date.js b/src/date.js
index 2363841085a220d50acbe7d8cc3539e692aef05a..f3d4af244f9692c223ee5b467ace6c52e177d46f 100644
--- a/src/date.js
+++ b/src/date.js
@@ -132,7 +132,7 @@ function TimeClip(time) {
// strings over and over again.
var Date_cache = {
// Cached time value.
- time: NAN,
+ time: 0,
// String input for which the cached time is valid.
string: null
};
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-280531.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698