Fix FlooringDivByPowerOf2I on ARM/ARM64
authorm.m.capewell@googlemail.com <m.m.capewell@googlemail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 14 May 2014 14:34:37 +0000 (14:34 +0000)
committerm.m.capewell@googlemail.com <m.m.capewell@googlemail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 14 May 2014 14:34:37 +0000 (14:34 +0000)
commit41975b90c017d26d018bcdc6143020b5f5e0bf04
treed03cde17cc2ebef46e01e874ab10e99d9f8a46d4
parent70813e6a820135a08c85a437548b29deb7db4e47
Fix FlooringDivByPowerOf2I on ARM/ARM64

Fix for divisor=1, found during code inspection. We can't hit this bug, due to
HDiv::Canonicalize() discarding the operation, but it might avoid a future bug
hunt. Patch also includes a small tidying of the ARM64 code.

BUG=
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/280883003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21313 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/lithium-codegen-arm.cc
src/arm64/lithium-codegen-arm64.cc