Index: runtime/vm/intrinsifier_arm64.cc |
diff --git a/runtime/vm/intrinsifier_arm64.cc b/runtime/vm/intrinsifier_arm64.cc |
index dd46bcc6bd2e7023a052810133e9ffba4669bb13..139608deb857f6fdd181a14da688a7127eb2c502 100644 |
--- a/runtime/vm/intrinsifier_arm64.cc |
+++ b/runtime/vm/intrinsifier_arm64.cc |
@@ -198,6 +198,7 @@ static int GetScaleFactor(intptr_t size) { |
#define TYPED_ARRAY_ALLOCATION(type_name, cid, max_len, scale_shift) \ |
Label fall_through; \ |
const intptr_t kArrayLengthStackOffset = 0 * kWordSize; \ |
+ __ MaybeTraceAllocation(cid, R2, kNoPP, &fall_through); \ |
__ ldr(R2, Address(SP, kArrayLengthStackOffset)); /* Array length. */ \ |
/* Check that length is a positive Smi. */ \ |
/* R2: requested array length argument. */ \ |