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

Unified Diff: src/runtime.cc

Issue 9809010: Fix the return type of the date set methods. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 months 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 | « src/date.js ('k') | test/mjsunit/regress/regress-2027.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 20a9090e704db25a2fdb23a8fd3251c0182ce12d..a12dbc7f6c4c78c16b442e88b9d9562f69389140 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -7582,7 +7582,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DateSetValue) {
}
}
date->SetValue(value, is_value_nan);
- return *date;
+ return value;
}
« no previous file with comments | « src/date.js ('k') | test/mjsunit/regress/regress-2027.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698