Chromium Code Reviews| Index: runtime/vm/assembler_arm.h |
| diff --git a/runtime/vm/assembler_arm.h b/runtime/vm/assembler_arm.h |
| index c5971e5b2c14db0c4a275decd4a43c7f3d1ca52c..ecf7899a3692135cd2330c59cc9b48c7c10d097f 100644 |
| --- a/runtime/vm/assembler_arm.h |
| +++ b/runtime/vm/assembler_arm.h |
| @@ -729,13 +729,23 @@ class Assembler : public ValueObject { |
| // RawInstruction object corresponding to the code running in the frame. |
| static const intptr_t kEntryPointToPcMarkerOffset = Instr::kPCReadOffset; |
| + 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); |
|
srdjan
2013/12/12 15:52:32
I find method overloading leads easily to typos, a
Cutch
2013/12/13 01:31:09
Done.
|
| + |
| // 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); |
| // Emit data (e.g encoded instruction or immediate) in instruction stream. |
| void Emit(int32_t value); |