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_MIPS_H_ | 5 #ifndef VM_ASSEMBLER_MIPS_H_ |
6 #define VM_ASSEMBLER_MIPS_H_ | 6 #define VM_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
9 #error Do not include assembler_mips.h directly; use assembler.h instead. | 9 #error Do not include assembler_mips.h directly; use assembler.h instead. |
10 #endif | 10 #endif |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 void UpdateAllocationStats(intptr_t cid, | 305 void UpdateAllocationStats(intptr_t cid, |
306 Register temp_reg, | 306 Register temp_reg, |
307 Heap::Space space); | 307 Heap::Space space); |
308 | 308 |
309 void UpdateAllocationStatsWithSize(intptr_t cid, | 309 void UpdateAllocationStatsWithSize(intptr_t cid, |
310 Register size_reg, | 310 Register size_reg, |
311 Register temp_reg, | 311 Register temp_reg, |
312 Heap::Space space); | 312 Heap::Space space); |
313 | 313 |
314 | 314 |
| 315 void MaybeTraceAllocation(intptr_t cid, |
| 316 Register temp_reg, |
| 317 Label* trace); |
| 318 |
315 // Inlined allocation of an instance of class 'cls', code has no runtime | 319 // Inlined allocation of an instance of class 'cls', code has no runtime |
316 // calls. Jump to 'failure' if the instance cannot be allocated here. | 320 // calls. Jump to 'failure' if the instance cannot be allocated here. |
317 // Allocated instance is returned in 'instance_reg'. | 321 // Allocated instance is returned in 'instance_reg'. |
318 // Only the tags field of the object is initialized. | 322 // Only the tags field of the object is initialized. |
319 void TryAllocate(const Class& cls, | 323 void TryAllocate(const Class& cls, |
320 Label* failure, | 324 Label* failure, |
321 Register instance_reg, | 325 Register instance_reg, |
322 Register temp_reg); | 326 Register temp_reg); |
323 | 327 |
324 void TryAllocateArray(intptr_t cid, | 328 void TryAllocateArray(intptr_t cid, |
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1753 Register value, | 1757 Register value, |
1754 Label* no_update); | 1758 Label* no_update); |
1755 | 1759 |
1756 DISALLOW_ALLOCATION(); | 1760 DISALLOW_ALLOCATION(); |
1757 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1761 DISALLOW_COPY_AND_ASSIGN(Assembler); |
1758 }; | 1762 }; |
1759 | 1763 |
1760 } // namespace dart | 1764 } // namespace dart |
1761 | 1765 |
1762 #endif // VM_ASSEMBLER_MIPS_H_ | 1766 #endif // VM_ASSEMBLER_MIPS_H_ |
OLD | NEW |