Fixed code generation for LBranch on ARM when the operand's representation is double.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 2 Aug 2011 15:14:12 +0000 (15:14 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 2 Aug 2011 15:14:12 +0000 (15:14 +0000)
commit6f6c882e19536db6e4958087950c4e225c5acf1a
treee81705eb0fbeea5925cb4100e68620bb170fde7b
parentf37f6e88ca24c59d1c6527c425aed2a1fb75a03c
Fixed code generation for LBranch on ARM when the operand's representation is double.

The condition code for branching on the result of vcmp was wrong, effectively
swapping the true/false branches.

TEST=regress-lbranch-double.js
Review URL: http://codereview.chromium.org/7553010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/lithium-codegen-arm.cc
test/mjsunit/compiler/regress-lbranch-double.js [new file with mode: 0644]