Index: runtime/vm/assembler_x64.h |
diff --git a/runtime/vm/assembler_x64.h b/runtime/vm/assembler_x64.h |
index 9daaf6ca603bec7323e47cf937dac18866cb7d3a..aacfbeb69ff2f24bad49dcb57bc277e9559bbd85 100644 |
--- a/runtime/vm/assembler_x64.h |
+++ b/runtime/vm/assembler_x64.h |
@@ -825,6 +825,13 @@ class Assembler : public ValueObject { |
// L: |
static const intptr_t kEntryPointToPcMarkerOffset = 9; |
+ void UpdateAllocationStats(intptr_t cid, |
+ Heap::Space space = Heap::kNew); |
+ |
+ void UpdateAllocationStatsWithSize(intptr_t cid, |
+ Register size_reg, |
+ Heap::Space space = Heap::kNew); |
+ |
// 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'. |