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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 void LeaveCallRuntimeFrame(); | 1207 void LeaveCallRuntimeFrame(); |
1208 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); | 1208 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); |
1209 | 1209 |
1210 // Set up a stub frame so that the stack traversal code can easily identify | 1210 // Set up a stub frame so that the stack traversal code can easily identify |
1211 // a stub frame. | 1211 // a stub frame. |
1212 void EnterStubFrame(bool load_pp = false); | 1212 void EnterStubFrame(bool load_pp = false); |
1213 void LeaveStubFrame(); | 1213 void LeaveStubFrame(); |
1214 | 1214 |
1215 void UpdateAllocationStats(intptr_t cid, | 1215 void UpdateAllocationStats(intptr_t cid, |
1216 Register pp, | 1216 Register pp, |
1217 Heap::Space space = Heap::kNew); | 1217 Heap::Space space); |
1218 | 1218 |
1219 void UpdateAllocationStatsWithSize(intptr_t cid, | 1219 void UpdateAllocationStatsWithSize(intptr_t cid, |
1220 Register size_reg, | 1220 Register size_reg, |
1221 Register pp, | 1221 Register pp, |
1222 Heap::Space space = Heap::kNew); | 1222 Heap::Space space); |
1223 | 1223 |
1224 // Inlined allocation of an instance of class 'cls', code has no runtime | 1224 // Inlined allocation of an instance of class 'cls', code has no runtime |
1225 // calls. Jump to 'failure' if the instance cannot be allocated here. | 1225 // calls. Jump to 'failure' if the instance cannot be allocated here. |
1226 // Allocated instance is returned in 'instance_reg'. | 1226 // Allocated instance is returned in 'instance_reg'. |
1227 // Only the tags field of the object is initialized. | 1227 // Only the tags field of the object is initialized. |
1228 void TryAllocate(const Class& cls, | 1228 void TryAllocate(const Class& cls, |
1229 Label* failure, | 1229 Label* failure, |
1230 Register instance_reg, | 1230 Register instance_reg, |
1231 Register temp_reg, | 1231 Register temp_reg, |
1232 Register pp); | 1232 Register pp); |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 Register value, | 1707 Register value, |
1708 Label* no_update); | 1708 Label* no_update); |
1709 | 1709 |
1710 DISALLOW_ALLOCATION(); | 1710 DISALLOW_ALLOCATION(); |
1711 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1711 DISALLOW_COPY_AND_ASSIGN(Assembler); |
1712 }; | 1712 }; |
1713 | 1713 |
1714 } // namespace dart | 1714 } // namespace dart |
1715 | 1715 |
1716 #endif // VM_ASSEMBLER_ARM64_H_ | 1716 #endif // VM_ASSEMBLER_ARM64_H_ |
OLD | NEW |