OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_ASSEMBLER_ARM_H_ | 5 #ifndef VM_ASSEMBLER_ARM_H_ |
6 #define VM_ASSEMBLER_ARM_H_ | 6 #define VM_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
9 #error Do not include assembler_arm.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm.h directly; use assembler.h instead. |
10 #endif | 10 #endif |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 void EnterDartFrame(intptr_t frame_size); | 714 void EnterDartFrame(intptr_t frame_size); |
715 void LeaveDartFrame(); | 715 void LeaveDartFrame(); |
716 | 716 |
717 // Set up a Dart frame for a function compiled for on-stack replacement. | 717 // Set up a Dart frame for a function compiled for on-stack replacement. |
718 // The frame layout is a normal Dart frame, but the frame is partially set | 718 // The frame layout is a normal Dart frame, but the frame is partially set |
719 // up on entry (it is the frame of the unoptimized code). | 719 // up on entry (it is the frame of the unoptimized code). |
720 void EnterOsrFrame(intptr_t extra_size); | 720 void EnterOsrFrame(intptr_t extra_size); |
721 | 721 |
722 // Set up a stub frame so that the stack traversal code can easily identify | 722 // Set up a stub frame so that the stack traversal code can easily identify |
723 // a stub frame. | 723 // a stub frame. |
724 void EnterStubFrame(bool uses_pp = false); | 724 void EnterStubFrame(bool load_pp = false); |
725 void LeaveStubFrame(bool uses_pp = false); | 725 void LeaveStubFrame(); |
726 | 726 |
727 // Instruction pattern from entrypoint is used in Dart frame prologs | 727 // Instruction pattern from entrypoint is used in Dart frame prologs |
728 // to set up the frame and save a PC which can be used to figure out the | 728 // to set up the frame and save a PC which can be used to figure out the |
729 // RawInstruction object corresponding to the code running in the frame. | 729 // RawInstruction object corresponding to the code running in the frame. |
730 static const intptr_t kEntryPointToPcMarkerOffset = Instr::kPCReadOffset; | 730 static const intptr_t kEntryPointToPcMarkerOffset = Instr::kPCReadOffset; |
731 | 731 |
732 // Inlined allocation of an instance of class 'cls', code has no runtime | 732 // Inlined allocation of an instance of class 'cls', code has no runtime |
733 // calls. Jump to 'failure' if the instance cannot be allocated here. | 733 // calls. Jump to 'failure' if the instance cannot be allocated here. |
734 // Allocated instance is returned in 'instance_reg'. | 734 // Allocated instance is returned in 'instance_reg'. |
735 // Only the tags field of the object is initialized. | 735 // Only the tags field of the object is initialized. |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 Register value, | 880 Register value, |
881 Label* no_update); | 881 Label* no_update); |
882 | 882 |
883 DISALLOW_ALLOCATION(); | 883 DISALLOW_ALLOCATION(); |
884 DISALLOW_COPY_AND_ASSIGN(Assembler); | 884 DISALLOW_COPY_AND_ASSIGN(Assembler); |
885 }; | 885 }; |
886 | 886 |
887 } // namespace dart | 887 } // namespace dart |
888 | 888 |
889 #endif // VM_ASSEMBLER_ARM_H_ | 889 #endif // VM_ASSEMBLER_ARM_H_ |
OLD | NEW |