Reviewers: danno, fschneider,
Description:
Merge r8784 into 3.3 branch, fixing a code generation bug for LBranch on
ARM.
Please review this at http://codereview.chromium.org/7552007/
SVN Base: http://v8.googlecode.com/svn/branches/3.3/
Affected files:
M src/arm/lithium-codegen-arm.cc
A + test/mjsunit/compiler/regress-lbranch-double.js
### BEGIN SVN COPY METADATA
#$ cp
branches/bleeding_edge/test/mjsunit/compiler/regress-lbranch-double.js
test/mjsunit/compiler/regress-lbranch-double.js
### END SVN COPY METADATA
Index: src/arm/lithium-codegen-arm.cc
===================================================================
--- src/arm/lithium-codegen-arm.cc (revision 8784)
+++ src/arm/lithium-codegen-arm.cc (working copy)
@@ -1471,7 +1471,7 @@
// Test the double value. Zero and NaN are false.
__ VFPCompareAndLoadFlags(reg, 0.0, scratch);
__ tst(scratch, Operand(kVFPZConditionFlagBit |
kVFPVConditionFlagBit));
- EmitBranch(true_block, false_block, ne);
+ EmitBranch(true_block, false_block, eq);
} else {
ASSERT(r.IsTagged());
Register reg = ToRegister(instr->InputAt(0));
Index: test/mjsunit/compiler/regress-lbranch-double.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev