Land for Rodolph Perfetta.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Oct 2010 06:09:05 +0000 (06:09 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Oct 2010 06:09:05 +0000 (06:09 +0000)
Added a missing SetCC in the ARM CompareStub.

BUG=none
TEST=none

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5593 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/arm/code-stubs-arm.cc

index 8f801cf..c9ef29a 100644 (file)
@@ -935,7 +935,7 @@ void CompareStub::Generate(MacroAssembler* masm) {
     __ orr(r2, r1, r0);
     __ tst(r2, Operand(kSmiTagMask));
     __ b(ne, &not_two_smis);
-    __ sub(r0, r1, r0);
+    __ sub(r0, r1, r0, SetCC);
     __ b(vc, &smi_done);
     // Correct the sign in case of overflow.
     __ rsb(r0, r0, Operand(0, RelocInfo::NONE));