Fix bug in date code (issue 736) where -0 was not mapped to 0. This caused the
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 Jul 2010 20:09:33 +0000 (20:09 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 Jul 2010 20:09:33 +0000 (20:09 +0000)
commit06a28cbe57b50035c1620dd40c4aae1d7ac86c4f
treed35c9d07e60f5dded8fff56ec82736d3e2e7704d
parent92f2c471d5e62e95fb96a28543b1530a79d6d4ec
Fix bug in date code (issue 736) where -0 was not mapped to 0. This caused the
runtime system to throw an exception because it expected smi arguments.

Review URL: http://codereview.chromium.org/2848038

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5013 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/date.js
src/macros.py
src/runtime.cc
test/mjsunit/date.js