OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64_H_ | 5 #ifndef VM_ASSEMBLER_ARM64_H_ |
6 #define VM_ASSEMBLER_ARM64_H_ | 6 #define VM_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
9 #error Do not include assembler_arm64.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm64.h directly; use assembler.h instead. |
10 #endif | 10 #endif |
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 // Set up a stub frame so that the stack traversal code can easily identify | 777 // Set up a stub frame so that the stack traversal code can easily identify |
778 // a stub frame. | 778 // a stub frame. |
779 void EnterStubFrame(bool load_pp = false); | 779 void EnterStubFrame(bool load_pp = false); |
780 void LeaveStubFrame(); | 780 void LeaveStubFrame(); |
781 | 781 |
782 void UpdateAllocationStats(intptr_t cid, | 782 void UpdateAllocationStats(intptr_t cid, |
783 Register temp_reg, | 783 Register temp_reg, |
784 Register pp, | 784 Register pp, |
785 Heap::Space space = Heap::kNew); | 785 Heap::Space space = Heap::kNew); |
786 | 786 |
| 787 void UpdateAllocationStatsWithSize(intptr_t cid, |
| 788 Register size_reg, |
| 789 Register temp_reg, |
| 790 Register pp, |
| 791 Heap::Space space = Heap::kNew); |
| 792 |
787 private: | 793 private: |
788 AssemblerBuffer buffer_; // Contains position independent code. | 794 AssemblerBuffer buffer_; // Contains position independent code. |
789 | 795 |
790 // Objects and patchable jump targets. | 796 // Objects and patchable jump targets. |
791 GrowableObjectArray& object_pool_; | 797 GrowableObjectArray& object_pool_; |
792 | 798 |
793 // Patchability of pool entries. | 799 // Patchability of pool entries. |
794 GrowableArray<Patchability> patchable_pool_entries_; | 800 GrowableArray<Patchability> patchable_pool_entries_; |
795 | 801 |
796 // Pair type parameter for DirectChainedHashMap. | 802 // Pair type parameter for DirectChainedHashMap. |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 Register value, | 1121 Register value, |
1116 Label* no_update); | 1122 Label* no_update); |
1117 | 1123 |
1118 DISALLOW_ALLOCATION(); | 1124 DISALLOW_ALLOCATION(); |
1119 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1125 DISALLOW_COPY_AND_ASSIGN(Assembler); |
1120 }; | 1126 }; |
1121 | 1127 |
1122 } // namespace dart | 1128 } // namespace dart |
1123 | 1129 |
1124 #endif // VM_ASSEMBLER_ARM64_H_ | 1130 #endif // VM_ASSEMBLER_ARM64_H_ |
OLD | NEW |