Index: runtime/vm/assembler_ia32.h |
diff --git a/runtime/vm/assembler_ia32.h b/runtime/vm/assembler_ia32.h |
index 7ebea1d02ca3d86ae6bc0f1c29a5f1025553f980..f08b9d099fe9f79bfa3b827015d7412c86bc84b2 100644 |
--- a/runtime/vm/assembler_ia32.h |
+++ b/runtime/vm/assembler_ia32.h |
@@ -871,6 +871,13 @@ class Assembler : public ValueObject { |
return kEntryPointToPcMarkerOffset; |
} |
+ // 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, |
+ Label* trace, |
+ bool near_jump); |
+ |
void UpdateAllocationStats(intptr_t cid, |
Register temp_reg, |
Heap::Space space); |