| 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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 // Inlined allocation of an instance of class 'cls', code has no runtime | 1214 // Inlined allocation of an instance of class 'cls', code has no runtime |
| 1215 // calls. Jump to 'failure' if the instance cannot be allocated here. | 1215 // calls. Jump to 'failure' if the instance cannot be allocated here. |
| 1216 // Allocated instance is returned in 'instance_reg'. | 1216 // Allocated instance is returned in 'instance_reg'. |
| 1217 // Only the tags field of the object is initialized. | 1217 // Only the tags field of the object is initialized. |
| 1218 void TryAllocate(const Class& cls, | 1218 void TryAllocate(const Class& cls, |
| 1219 Label* failure, | 1219 Label* failure, |
| 1220 Register instance_reg, | 1220 Register instance_reg, |
| 1221 Register temp_reg, | 1221 Register temp_reg, |
| 1222 Register pp); | 1222 Register pp); |
| 1223 | 1223 |
| 1224 void TryAllocateArray(intptr_t cid, |
| 1225 intptr_t instance_size, |
| 1226 Label* failure, |
| 1227 Register instance, |
| 1228 Register end_address, |
| 1229 Register temp1, |
| 1230 Register temp2); |
| 1231 |
| 1224 Address ElementAddressForIntIndex(bool is_external, | 1232 Address ElementAddressForIntIndex(bool is_external, |
| 1225 intptr_t cid, | 1233 intptr_t cid, |
| 1226 intptr_t index_scale, | 1234 intptr_t index_scale, |
| 1227 Register array, | 1235 Register array, |
| 1228 intptr_t index) const; | 1236 intptr_t index) const; |
| 1229 Address ElementAddressForRegIndex(bool is_load, | 1237 Address ElementAddressForRegIndex(bool is_load, |
| 1230 bool is_external, | 1238 bool is_external, |
| 1231 intptr_t cid, | 1239 intptr_t cid, |
| 1232 intptr_t index_scale, | 1240 intptr_t index_scale, |
| 1233 Register array, | 1241 Register array, |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1687 Register value, | 1695 Register value, |
| 1688 Label* no_update); | 1696 Label* no_update); |
| 1689 | 1697 |
| 1690 DISALLOW_ALLOCATION(); | 1698 DISALLOW_ALLOCATION(); |
| 1691 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1699 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1692 }; | 1700 }; |
| 1693 | 1701 |
| 1694 } // namespace dart | 1702 } // namespace dart |
| 1695 | 1703 |
| 1696 #endif // VM_ASSEMBLER_ARM64_H_ | 1704 #endif // VM_ASSEMBLER_ARM64_H_ |
| OLD | NEW |