| 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 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1511 void GetNextPC(Register dest, Register temp = kNoRegister); | 1511 void GetNextPC(Register dest, Register temp = kNoRegister); |
| 1512 | 1512 |
| 1513 void ReserveAlignedFrameSpace(intptr_t frame_space); | 1513 void ReserveAlignedFrameSpace(intptr_t frame_space); |
| 1514 | 1514 |
| 1515 // Create a frame for calling into runtime that preserves all volatile | 1515 // Create a frame for calling into runtime that preserves all volatile |
| 1516 // registers. Frame's SP is guaranteed to be correctly aligned and | 1516 // registers. Frame's SP is guaranteed to be correctly aligned and |
| 1517 // frame_space bytes are reserved under it. | 1517 // frame_space bytes are reserved under it. |
| 1518 void EnterCallRuntimeFrame(intptr_t frame_space); | 1518 void EnterCallRuntimeFrame(intptr_t frame_space); |
| 1519 void LeaveCallRuntimeFrame(); | 1519 void LeaveCallRuntimeFrame(); |
| 1520 | 1520 |
| 1521 bool CanLoadFromObjectPool(const Object& object) const; |
| 1521 void LoadWordFromPoolOffset(Register rd, int32_t offset); | 1522 void LoadWordFromPoolOffset(Register rd, int32_t offset); |
| 1522 void LoadObject(Register rd, const Object& object); | 1523 void LoadObject(Register rd, const Object& object); |
| 1523 void LoadUniqueObject(Register rd, const Object& object); | 1524 void LoadUniqueObject(Register rd, const Object& object); |
| 1524 void LoadExternalLabel(Register rd, | 1525 void LoadExternalLabel(Register rd, |
| 1525 const ExternalLabel* label, | 1526 const ExternalLabel* label, |
| 1526 Patchability patchable); | 1527 Patchability patchable); |
| 1527 void LoadNativeEntry(Register rd, | 1528 void LoadNativeEntry(Register rd, |
| 1528 const ExternalLabel* label, | 1529 const ExternalLabel* label, |
| 1529 Patchability patchable); | 1530 Patchability patchable); |
| 1530 void PushObject(const Object& object); | 1531 void PushObject(const Object& object); |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1739 Register value, | 1740 Register value, |
| 1740 Label* no_update); | 1741 Label* no_update); |
| 1741 | 1742 |
| 1742 DISALLOW_ALLOCATION(); | 1743 DISALLOW_ALLOCATION(); |
| 1743 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1744 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1744 }; | 1745 }; |
| 1745 | 1746 |
| 1746 } // namespace dart | 1747 } // namespace dart |
| 1747 | 1748 |
| 1748 #endif // VM_ASSEMBLER_MIPS_H_ | 1749 #endif // VM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |