Fix the return type of the date set methods.
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Mar 2012 10:13:03 +0000 (10:13 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Mar 2012 10:13:03 +0000 (10:13 +0000)
commita47d1c07144f80e8c128aa5564625b94570b473a
tree7c8d545358c7e18f2dfde33517b5a3365fb2c361
parent5bca664574cfc0213f6144cfe8b514e24c92804f
Fix the return type of the date set methods.

Date set methods (setMinutes, setHours, etc.) should return the time value as a number instead of JSDate.

R=jkummerow@chromium.org
TEST=test/mjsunit/regress/regress-2027.js

Review URL: https://chromiumcodereview.appspot.com/9809010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11140 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/date.js
src/runtime.cc
test/mjsunit/regress/regress-2027.js [new file with mode: 0644]