Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 9afb7604af3743d79c3dca24647074ee6b4c13e0..de8e14ef53422d6f45a14119ec1f0b87b768fb48 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1946,7 +1946,6 @@ void MacroAssembler::Allocate(int object_size, |
// point, so we cannot just use add(). |
DCHECK(object_size > 0); |
Register source = result; |
- Condition cond = al; |
int shift = 0; |
while (object_size != 0) { |
if (((object_size >> shift) & 0x03) == 0) { |
@@ -1957,9 +1956,8 @@ 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, LeaveCC, cond); |
+ add(result_end, source, bits_operand); |
source = result_end; |
- cond = cc; |
} |
} |
@@ -2158,7 +2156,6 @@ void MacroAssembler::FastAllocate(int object_size, Register result, |
// this point, so we cannot just use add(). |
DCHECK(object_size > 0); |
Register source = result; |
- Condition cond = al; |
int shift = 0; |
while (object_size != 0) { |
if (((object_size >> shift) & 0x03) == 0) { |
@@ -2169,9 +2166,8 @@ void MacroAssembler::FastAllocate(int object_size, Register result, |
shift += 8; |
Operand bits_operand(bits); |
DCHECK(bits_operand.instructions_required(this) == 1); |
- add(result_end, source, bits_operand, LeaveCC, cond); |
+ add(result_end, source, bits_operand); |
source = result_end; |
- cond = cc; |
} |
} |