Index: runtime/vm/assembler_mips.h |
diff --git a/runtime/vm/assembler_mips.h b/runtime/vm/assembler_mips.h |
index d17f05d9c7591c086e624cc3fa550a406afdf735..95f97045faec0110358156a2acba75d275229ff8 100644 |
--- a/runtime/vm/assembler_mips.h |
+++ b/runtime/vm/assembler_mips.h |
@@ -192,13 +192,23 @@ class Assembler : public ValueObject { |
// See EnterDartFrame. There are 6 instructions before we know the PC. |
static const intptr_t kEntryPointToPcMarkerOffset = 6 * Instr::kInstrSize; |
+ 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, |
- Register instance_reg); |
+ Register instance_reg, |
+ Register temp_reg); |
// Debugging and bringup support. |
void Stop(const char* message); |