| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 309 |
| 310 void UpdateAllocationStatsWithSize(intptr_t cid, | 310 void UpdateAllocationStatsWithSize(intptr_t cid, |
| 311 Register size_reg, | 311 Register size_reg, |
| 312 Register temp_reg, | 312 Register temp_reg, |
| 313 Heap::Space space, | 313 Heap::Space space, |
| 314 bool inline_isolate = true); | 314 bool inline_isolate = true); |
| 315 | 315 |
| 316 | 316 |
| 317 void MaybeTraceAllocation(intptr_t cid, | 317 void MaybeTraceAllocation(intptr_t cid, |
| 318 Register temp_reg, | 318 Register temp_reg, |
| 319 Label* trace); | 319 Label* trace, |
| 320 bool inline_isolate = true); |
| 320 | 321 |
| 321 // Inlined allocation of an instance of class 'cls', code has no runtime | 322 // Inlined allocation of an instance of class 'cls', code has no runtime |
| 322 // calls. Jump to 'failure' if the instance cannot be allocated here. | 323 // calls. Jump to 'failure' if the instance cannot be allocated here. |
| 323 // Allocated instance is returned in 'instance_reg'. | 324 // Allocated instance is returned in 'instance_reg'. |
| 324 // Only the tags field of the object is initialized. | 325 // Only the tags field of the object is initialized. |
| 325 void TryAllocate(const Class& cls, | 326 void TryAllocate(const Class& cls, |
| 326 Label* failure, | 327 Label* failure, |
| 327 Register instance_reg, | 328 Register instance_reg, |
| 328 Register temp_reg); | 329 Register temp_reg); |
| 329 | 330 |
| (...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1759 Register value, | 1760 Register value, |
| 1760 Label* no_update); | 1761 Label* no_update); |
| 1761 | 1762 |
| 1762 DISALLOW_ALLOCATION(); | 1763 DISALLOW_ALLOCATION(); |
| 1763 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1764 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1764 }; | 1765 }; |
| 1765 | 1766 |
| 1766 } // namespace dart | 1767 } // namespace dart |
| 1767 | 1768 |
| 1768 #endif // VM_ASSEMBLER_MIPS_H_ | 1769 #endif // VM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |