Index: runtime/vm/stub_code_arm.cc |
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc |
index fb9aa26db96318b37a13ae91f62a765e23d329b8..31f70e1928c7930bf098a23ad6a0e7e7725acbd5 100644 |
--- a/runtime/vm/stub_code_arm.cc |
+++ b/runtime/vm/stub_code_arm.cc |
@@ -688,10 +688,9 @@ void StubCode::GenerateAllocateArrayStub(Assembler* assembler) { |
const intptr_t cid = kArrayCid; |
NOT_IN_PRODUCT(__ MaybeTraceAllocation(cid, R4, &slow_case)); |
- const intptr_t fixed_size_plus_alignment_padding = |
- sizeof(RawArray) + kObjectAlignment - 1; |
- __ LoadImmediate(R9, fixed_size_plus_alignment_padding); |
- __ add(R9, R9, Operand(R3, LSL, 1)); // R3 is a Smi. |
+ const intptr_t fixed_size = sizeof(RawArray) + kObjectAlignment - 1; |
+ __ LoadImmediate(R9, fixed_size); |
+ __ add(R9, R9, Operand(R3, LSL, 1)); // R3 is a Smi. |
ASSERT(kSmiTagShift == 1); |
__ bic(R9, R9, Operand(kObjectAlignment - 1)); |
@@ -910,9 +909,8 @@ void StubCode::GenerateAllocateContextStub(Assembler* assembler) { |
Label slow_case; |
// First compute the rounded instance size. |
// R1: number of context variables. |
- intptr_t fixed_size_plus_alignment_padding = |
- sizeof(RawContext) + kObjectAlignment - 1; |
- __ LoadImmediate(R2, fixed_size_plus_alignment_padding); |
+ intptr_t fixed_size = sizeof(RawContext) + kObjectAlignment - 1; |
+ __ LoadImmediate(R2, fixed_size); |
__ add(R2, R2, Operand(R1, LSL, 2)); |
ASSERT(kSmiTagShift == 1); |
__ bic(R2, R2, Operand(kObjectAlignment - 1)); |