| Index: runtime/vm/assembler_arm.h
|
| diff --git a/runtime/vm/assembler_arm.h b/runtime/vm/assembler_arm.h
|
| index f3d95838385aeee9b239b10bff686a02d1798820..4301677a105b0247a0b034c71a678c8348acc1a0 100644
|
| --- a/runtime/vm/assembler_arm.h
|
| +++ b/runtime/vm/assembler_arm.h
|
| @@ -910,8 +910,7 @@ class Assembler : public ValueObject {
|
| // allocation stats. These are separate assembler macros so we can
|
| // avoid a dependent load too nearby the load of the table address.
|
| void LoadAllocationStatsAddress(Register dest,
|
| - intptr_t cid,
|
| - Heap::Space space);
|
| + intptr_t cid);
|
| void IncrementAllocationStats(Register stats_addr,
|
| intptr_t cid,
|
| Heap::Space space);
|
| @@ -935,6 +934,12 @@ class Assembler : public ValueObject {
|
| Register array,
|
| Register index);
|
|
|
| + // If allocation tracing for |cid| is enabled, will jump to |trace| label,
|
| + // which will allocate in the runtime where tracing occurs.
|
| + void MaybeTraceAllocation(intptr_t cid,
|
| + Register temp_reg,
|
| + Label* trace);
|
| +
|
| // Inlined allocation of an instance of class 'cls', code has no runtime
|
| // calls. Jump to 'failure' if the instance cannot be allocated here.
|
| // Allocated instance is returned in 'instance_reg'.
|
|
|