From 5e80d5df5dc60adacdb3ae6f107772466ce8b5a6 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Fri, 10 Dec 2010 12:12:06 +0000 Subject: [PATCH] ARM: Fix missing SetCC in crankshaft code emitted when running with 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 --- src/arm/lithium-codegen-arm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc index db8037a62..90206966a 100644 --- a/src/arm/lithium-codegen-arm.cc +++ b/src/arm/lithium-codegen-arm.cc @@ -136,7 +136,7 @@ bool LCodeGen::GeneratePrologue() { 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)); -- 2.34.1