Fix Math.round in runtime.cc and x64 optimized code.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 13 Apr 2011 09:35:56 +0000 (09:35 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 13 Apr 2011 09:35:56 +0000 (09:35 +0000)
commitcaee8a3ccfdb5b9085a7b7dcd0da86111b7ebbda
tree858a51bd450e147cd54d95c10469e4ae3cf16b23
parentf7170df2af478e86c2f072958175e9def119dd88
Fix Math.round in runtime.cc and x64 optimized code.

Make math-round.js test check both normal and optimized version.
Add some cases to the tests.

BUG=v8:958
TEST=mjsunit/math-round

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7599 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
src/x64/lithium-codegen-x64.cc
test/mjsunit/math-round.js
test/mjsunit/mjsunit.status