Reviewers: danno, fschneider,

Description:
Merge r8784 into 3.2 branch, fixing a code generation bug for LBranch on ARM.

Please review this at http://codereview.chromium.org/7553015/

SVN Base: http://v8.googlecode.com/svn/branches/3.2/

Affected files:
  M     src/arm/lithium-codegen-arm.cc
  M     src/version.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)
@@ -1422,7 +1422,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: src/version.cc
===================================================================
--- src/version.cc      (revision 8784)
+++ src/version.cc      (working copy)
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     2
 #define BUILD_NUMBER      10
-#define PATCH_LEVEL       31
+#define PATCH_LEVEL       32
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0
Index: test/mjsunit/compiler/regress-lbranch-double.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to