| 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 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 Register size_reg, | 1387 Register size_reg, |
| 1388 Register pp, | 1388 Register pp, |
| 1389 Heap::Space space, | 1389 Heap::Space space, |
| 1390 bool inline_isolate = true); | 1390 bool inline_isolate = true); |
| 1391 | 1391 |
| 1392 // If allocation tracing for |cid| is enabled, will jump to |trace| label, | 1392 // If allocation tracing for |cid| is enabled, will jump to |trace| label, |
| 1393 // which will allocate in the runtime where tracing occurs. | 1393 // which will allocate in the runtime where tracing occurs. |
| 1394 void MaybeTraceAllocation(intptr_t cid, | 1394 void MaybeTraceAllocation(intptr_t cid, |
| 1395 Register temp_reg, | 1395 Register temp_reg, |
| 1396 Register pp, | 1396 Register pp, |
| 1397 Label* trace); | 1397 Label* trace, |
| 1398 bool inline_isolate = true); |
| 1398 | 1399 |
| 1399 // Inlined allocation of an instance of class 'cls', code has no runtime | 1400 // Inlined allocation of an instance of class 'cls', code has no runtime |
| 1400 // calls. Jump to 'failure' if the instance cannot be allocated here. | 1401 // calls. Jump to 'failure' if the instance cannot be allocated here. |
| 1401 // Allocated instance is returned in 'instance_reg'. | 1402 // Allocated instance is returned in 'instance_reg'. |
| 1402 // Only the tags field of the object is initialized. | 1403 // Only the tags field of the object is initialized. |
| 1403 void TryAllocate(const Class& cls, | 1404 void TryAllocate(const Class& cls, |
| 1404 Label* failure, | 1405 Label* failure, |
| 1405 Register instance_reg, | 1406 Register instance_reg, |
| 1406 Register temp_reg, | 1407 Register temp_reg, |
| 1407 Register pp); | 1408 Register pp); |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1951 Register value, | 1952 Register value, |
| 1952 Label* no_update); | 1953 Label* no_update); |
| 1953 | 1954 |
| 1954 DISALLOW_ALLOCATION(); | 1955 DISALLOW_ALLOCATION(); |
| 1955 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1956 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1956 }; | 1957 }; |
| 1957 | 1958 |
| 1958 } // namespace dart | 1959 } // namespace dart |
| 1959 | 1960 |
| 1960 #endif // VM_ASSEMBLER_ARM64_H_ | 1961 #endif // VM_ASSEMBLER_ARM64_H_ |
| OLD | NEW |