| Index: runtime/vm/stub_code_arm64.cc
|
| diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc
|
| index 97a20c80c3021e3bbec1e2c6a72bdd1e32fc52af..ddf4406b12223ea7f04d4228a46277b0a1cff56c 100644
|
| --- a/runtime/vm/stub_code_arm64.cc
|
| +++ b/runtime/vm/stub_code_arm64.cc
|
| @@ -652,7 +652,7 @@ void StubCode::GenerateAllocateArrayStub(Assembler* assembler) {
|
| __ b(&slow_case, GT);
|
|
|
| const intptr_t cid = kArrayCid;
|
| - __ MaybeTraceAllocation(kArrayCid, R4, &slow_case);
|
| + NOT_IN_PRODUCT(__ MaybeTraceAllocation(kArrayCid, R4, &slow_case));
|
|
|
| Heap::Space space = Heap::SpaceForAllocation(cid);
|
| __ LoadIsolate(R8);
|
| @@ -693,7 +693,7 @@ void StubCode::GenerateAllocateArrayStub(Assembler* assembler) {
|
| // R8: heap.
|
| __ StoreToOffset(R7, R8, Heap::TopOffset(space));
|
| __ add(R0, R0, Operand(kHeapObjectTag));
|
| - __ UpdateAllocationStatsWithSize(cid, R3, space);
|
| + NOT_IN_PRODUCT(__ UpdateAllocationStatsWithSize(cid, R3, space));
|
|
|
| // R0: new object start as a tagged pointer.
|
| // R1: array element type.
|
| @@ -917,7 +917,7 @@ void StubCode::GenerateAllocateContextStub(Assembler* assembler) {
|
| ASSERT(kSmiTagShift == 1);
|
| __ andi(R2, R2, Immediate(~(kObjectAlignment - 1)));
|
|
|
| - __ MaybeTraceAllocation(kContextCid, R4, &slow_case);
|
| + NOT_IN_PRODUCT(__ MaybeTraceAllocation(kContextCid, R4, &slow_case));
|
| // Now allocate the object.
|
| // R1: number of context variables.
|
| // R2: object size.
|
| @@ -950,7 +950,7 @@ void StubCode::GenerateAllocateContextStub(Assembler* assembler) {
|
| // R5: heap.
|
| __ str(R3, Address(R5, Heap::TopOffset(space)));
|
| __ add(R0, R0, Operand(kHeapObjectTag));
|
| - __ UpdateAllocationStatsWithSize(cid, R2, space);
|
| + NOT_IN_PRODUCT(__ UpdateAllocationStatsWithSize(cid, R2, space));
|
|
|
| // Calculate the size tag.
|
| // R0: new object.
|
| @@ -1124,7 +1124,7 @@ void StubCode::GenerateAllocationStubForClass(Assembler* assembler,
|
| __ b(&slow_case, CS); // Unsigned higher or equal.
|
| }
|
| __ str(R3, Address(R5, Heap::TopOffset(space)));
|
| - __ UpdateAllocationStats(cls.id(), space);
|
| + NOT_IN_PRODUCT(__ UpdateAllocationStats(cls.id(), space));
|
|
|
| // R2: new object start.
|
| // R3: next object start.
|
|
|