| Index: src/arm/macro-assembler-arm.cc
|
| diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc
|
| index 7d9af7c051628c02b7965cf499f92ff96402f692..00f8ab5cf5a050769a2813c1519ec20974ab5c8f 100644
|
| --- a/src/arm/macro-assembler-arm.cc
|
| +++ b/src/arm/macro-assembler-arm.cc
|
| @@ -2046,7 +2046,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) {
|
| @@ -2057,9 +2056,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;
|
| }
|
| }
|
|
|
| @@ -2258,7 +2256,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) {
|
| @@ -2269,9 +2266,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;
|
| }
|
| }
|
|
|
|
|