Reviewers: danno, fschneider,

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

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

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

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)
@@ -1560,7 +1560,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)
@@ -34,7 +34,7 @@
 // cannot be changed without changing the SCons build script.
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     4
-#define BUILD_NUMBER      14
+#define BUILD_NUMBER      15
 #define PATCH_LEVEL       3
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
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