| Index: runtime/vm/assembler_mips.cc
|
| diff --git a/runtime/vm/assembler_mips.cc b/runtime/vm/assembler_mips.cc
|
| index c9c6549c31470ca34b894ac0ba176b58b23f0b58..f9b4897ff9450d8a9b5661e6bd3c5000366935a5 100644
|
| --- a/runtime/vm/assembler_mips.cc
|
| +++ b/runtime/vm/assembler_mips.cc
|
| @@ -981,7 +981,7 @@ void Assembler::TryAllocate(const Class& cls,
|
| // If this allocation is traced, program will jump to failure path
|
| // (i.e. the allocation stub) which will allocate the object and trace the
|
| // allocation call site.
|
| - MaybeTraceAllocation(cls.id(), temp_reg, failure);
|
| + NOT_IN_PRODUCT(MaybeTraceAllocation(cls.id(), temp_reg, failure));
|
| const intptr_t instance_size = cls.instance_size();
|
| Heap::Space space = Heap::SpaceForAllocation(cls.id());
|
| lw(temp_reg, Address(THR, Thread::heap_offset()));
|
| @@ -1000,7 +1000,7 @@ void Assembler::TryAllocate(const Class& cls,
|
|
|
| ASSERT(instance_size >= kHeapObjectTag);
|
| AddImmediate(instance_reg, -instance_size + kHeapObjectTag);
|
| - UpdateAllocationStats(cls.id(), temp_reg, space);
|
| + NOT_IN_PRODUCT(UpdateAllocationStats(cls.id(), temp_reg, space));
|
| uword tags = 0;
|
| tags = RawObject::SizeTag::update(instance_size, tags);
|
| ASSERT(cls.id() != kIllegalCid);
|
| @@ -1024,7 +1024,7 @@ void Assembler::TryAllocateArray(intptr_t cid,
|
| // If this allocation is traced, program will jump to failure path
|
| // (i.e. the allocation stub) which will allocate the object and trace the
|
| // allocation call site.
|
| - MaybeTraceAllocation(cid, temp1, failure);
|
| + NOT_IN_PRODUCT(MaybeTraceAllocation(cid, temp1, failure));
|
| Isolate* isolate = Isolate::Current();
|
| Heap* heap = isolate->heap();
|
| Heap::Space space = heap->SpaceForAllocation(cid);
|
| @@ -1047,7 +1047,7 @@ void Assembler::TryAllocateArray(intptr_t cid,
|
| sw(end_address, Address(temp1, Heap::TopOffset(space)));
|
| addiu(instance, instance, Immediate(kHeapObjectTag));
|
| LoadImmediate(temp1, instance_size);
|
| - UpdateAllocationStatsWithSize(cid, temp1, temp2, space);
|
| + NOT_IN_PRODUCT(UpdateAllocationStatsWithSize(cid, temp1, temp2, space));
|
|
|
| // Initialize the tags.
|
| // instance: new object start as a tagged pointer.
|
|
|