Skip to content

Commit

Permalink
ARM: Fix missing SetCC in crankshaft code emitted when running with
Browse files Browse the repository at this point in the history
the --debug-code flag.

Review URL: http://codereview.chromium.org/5736003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5963 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
  • Loading branch information
ager@chromium.org committed Dec 10, 2010
1 parent eb8e1d9 commit 5e80d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arm/lithium-codegen-arm.cc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ bool LCodeGen::GeneratePrologue() {
Label loop; Label loop;
__ bind(&loop); __ bind(&loop);
__ push(r2); __ push(r2);
__ sub(r0, r0, Operand(1)); __ sub(r0, r0, Operand(1), SetCC);
__ b(ne, &loop); __ b(ne, &loop);
} else { } else {
__ sub(sp, sp, Operand(slots * kPointerSize)); __ sub(sp, sp, Operand(slots * kPointerSize));
Expand Down

0 comments on commit 5e80d5d

Please sign in to comment.