| Index: runtime/vm/assembler_arm.cc
|
| diff --git a/runtime/vm/assembler_arm.cc b/runtime/vm/assembler_arm.cc
|
| index 82dc175c92178a83d90821f9945f34c1c1636514..31937963c1a157528dbfa695039b231881421506 100644
|
| --- a/runtime/vm/assembler_arm.cc
|
| +++ b/runtime/vm/assembler_arm.cc
|
| @@ -3477,6 +3477,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, failure);
|
| Isolate* isolate = Isolate::Current();
|
| Heap* heap = isolate->heap();
|
| Heap::Space space = heap->SpaceForAllocation(cid);
|
|
|