Index: runtime/vm/assembler_arm64.h |
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h |
index 71a4787c83572e6293ac210ce7e8857afeefcf99..de04a60b83c3a0f7095d71c6d6ceaf049345f003 100644 |
--- a/runtime/vm/assembler_arm64.h |
+++ b/runtime/vm/assembler_arm64.h |
@@ -1387,6 +1387,13 @@ class Assembler : public ValueObject { |
Register pp, |
Heap::Space space); |
+ // 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, |
+ Register pp, |
+ 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'. |