Fix implementation of == to correctly convert Date objects to primitives.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 May 2011 12:15:14 +0000 (12:15 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 May 2011 12:15:14 +0000 (12:15 +0000)
commit569574b7bffd3ade312d9f848e3fa14f442a1bef
tree05f893cb4028b9473c953a7d63deecdc4f451084
parenteda2a0d4d293773c16e4725fa3227fb9d7d4f5dc
Fix implementation of == to correctly convert Date objects to primitives.

Fix issue 1356

BUG=v8:1356
TEST=mjsunit/double-equals

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7761 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.js
test/mjsunit/double-equals.js