| Index: runtime/vm/assembler_arm64.cc
|
| diff --git a/runtime/vm/assembler_arm64.cc b/runtime/vm/assembler_arm64.cc
|
| index 9452315cd5e201bee661c71b37732bde1de4d378..8a4339714f62945241d4eabd78482900f06ce569 100644
|
| --- a/runtime/vm/assembler_arm64.cc
|
| +++ b/runtime/vm/assembler_arm64.cc
|
| @@ -1405,6 +1405,10 @@ void Assembler::TryAllocateArray(intptr_t cid,
|
| Register temp1,
|
| Register temp2) {
|
| if (FLAG_inline_alloc) {
|
| + // 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, PP, failure);
|
| Isolate* isolate = Isolate::Current();
|
| Heap* heap = isolate->heap();
|
| Heap::Space space = heap->SpaceForAllocation(cid);
|
|
|