Index: runtime/vm/intrinsifier_x64.cc |
diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc |
index ad7c8b97b669b067ba502ddee0ae48bd894f05b0..6cec20224cf12c4d3ce3bbbd1d01a96e81dc53dc 100644 |
--- a/runtime/vm/intrinsifier_x64.cc |
+++ b/runtime/vm/intrinsifier_x64.cc |
@@ -130,6 +130,7 @@ void Intrinsifier::GrowableArray_add(Assembler* assembler) { |
#define TYPED_ARRAY_ALLOCATION(type_name, cid, max_len, scale_factor) \ |
Label fall_through; \ |
const intptr_t kArrayLengthStackOffset = 1 * kWordSize; \ |
+ __ MaybeTraceAllocation(cid, &fall_through, false); \ |
__ movq(RDI, Address(RSP, kArrayLengthStackOffset)); /* Array length. */ \ |
/* Check that length is a positive Smi. */ \ |
/* RDI: requested array length argument. */ \ |