Chromium Code Reviews| Index: runtime/vm/assembler_arm.h |
| =================================================================== |
| --- runtime/vm/assembler_arm.h (revision 19430) |
| +++ runtime/vm/assembler_arm.h (working copy) |
| @@ -593,6 +593,31 @@ |
| void CallRuntime(const RuntimeEntry& entry); |
| + // Set up a dart frame on entry with a frame pointer and PC information to |
|
srdjan
2013/03/04 23:46:43
s/dart/Dart/
regis
2013/03/04 23:51:24
Done.
|
| + // enable easy access to the RawInstruction object of code corresponding |
| + // to this frame. |
| + void EnterDartFrame(intptr_t frame_size); |
| + void LeaveDartFrame(); |
| + |
| + // Set up a stub frame so that the stack traversal code can easily identify |
| + // a stub frame. |
| + void EnterStubFrame(); |
| + void LeaveStubFrame(); |
| + |
| + // Instruction pattern from entrypoint is used in dart frame prologs |
|
srdjan
2013/03/04 23:46:43
ditto
regis
2013/03/04 23:51:24
Done.
|
| + // to set up the frame and save a PC which can be used to figure out the |
| + // RawInstruction object corresponding to the code running in the frame. |
| + static const intptr_t kOffsetOfSavedPCfromEntrypoint = Instr::kPCReadOffset; |
| + |
| + // 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); |
| + |
| // Emit data (e.g encoded instruction or immediate) in instruction stream. |
| void Emit(int32_t value); |