Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 2cf4d7806f79ce0dd665bb3b72264cd9ec226d86..972082439e50316546f3f8e4ab7d19313d617703 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2072,12 +2072,11 @@ void MacroAssembler::Allocate(int object_size, |
shift += 8; |
Operand bits_operand(bits); |
DCHECK(bits_operand.instructions_required(this) == 1); |
- add(result_end, source, bits_operand, SetCC, cond); |
+ add(result_end, source, bits_operand, LeaveCC, cond); |
source = result_end; |
cond = cc; |
} |
} |
- b(cs, gc_required); |
cmp(result_end, Operand(alloc_limit)); |
b(hi, gc_required); |
str(result_end, MemOperand(top_address)); |