Index: runtime/vm/assembler_ia32.h |
diff --git a/runtime/vm/assembler_ia32.h b/runtime/vm/assembler_ia32.h |
index 0afbb0fcd69a0b4f88df4c0e5042cfa0df6b1c9f..9fb6e8c0eb98b5614952ad420ba7c5309e924f4d 100644 |
--- a/runtime/vm/assembler_ia32.h |
+++ b/runtime/vm/assembler_ia32.h |
@@ -764,14 +764,24 @@ class Assembler : public ValueObject { |
// L: |
static const intptr_t kEntryPointToPcMarkerOffset = 8; |
+ void BumpAllocationCount(Heap::Space space, |
+ intptr_t cid, |
+ Register temp_reg); |
+ |
+ void BumpAllocationCount(Heap::Space space, |
+ intptr_t cid, |
+ Register size_reg, |
+ Register temp_reg); |
+ |
// 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'. |
// Only the tags field of the object is initialized. |
void TryAllocate(const Class& cls, |
- Label* failure, |
- bool near_jump, |
- Register instance_reg); |
+ Label* failure, |
+ bool near_jump, |
+ Register instance_reg, |
+ Register temp_reg); |
// Debugging and bringup support. |
void Stop(const char* message); |