Reviewers: Søren Gjesse,

Description:
ARM: Fix missing SetCC in crankshaft code emitted when running with
the --debug-code flag.


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

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

Affected files:
  M     src/arm/lithium-codegen-arm.cc


Index: src/arm/lithium-codegen-arm.cc
===================================================================
--- src/arm/lithium-codegen-arm.cc      (revision 5956)
+++ src/arm/lithium-codegen-arm.cc      (working copy)
@@ -136,7 +136,7 @@
       Label loop;
       __ bind(&loop);
       __ push(r2);
-      __ sub(r0, r0, Operand(1));
+      __ sub(r0, r0, Operand(1), SetCC);
       __ b(ne, &loop);
     } else {
       __ sub(sp,  sp, Operand(slots * kPointerSize));


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

Reply via email to