| 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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 LoadImmediate(rd, imm); | 922 LoadImmediate(rd, imm); |
| 923 SubuDetectOverflow(rd, rs, rd, ro); | 923 SubuDetectOverflow(rd, rs, rd, ro); |
| 924 } | 924 } |
| 925 | 925 |
| 926 void Branch(const StubEntry& stub_entry, Register pp = PP); | 926 void Branch(const StubEntry& stub_entry, Register pp = PP); |
| 927 | 927 |
| 928 void BranchLink(const StubEntry& stub_entry, | 928 void BranchLink(const StubEntry& stub_entry, |
| 929 Patchability patchable = kNotPatchable); | 929 Patchability patchable = kNotPatchable); |
| 930 | 930 |
| 931 void BranchLinkPatchable(const StubEntry& stub_entry); | 931 void BranchLinkPatchable(const StubEntry& stub_entry); |
| 932 void BranchLinkToRuntime(); |
| 932 | 933 |
| 933 // Emit a call that shares its object pool entries with other calls | 934 // Emit a call that shares its object pool entries with other calls |
| 934 // that have the same equivalence marker. | 935 // that have the same equivalence marker. |
| 935 void BranchLinkWithEquivalence(const StubEntry& stub_entry, | 936 void BranchLinkWithEquivalence(const StubEntry& stub_entry, |
| 936 const Object& equivalence); | 937 const Object& equivalence); |
| 937 | 938 |
| 938 void Drop(intptr_t stack_elements) { | 939 void Drop(intptr_t stack_elements) { |
| 939 ASSERT(stack_elements >= 0); | 940 ASSERT(stack_elements >= 0); |
| 940 if (stack_elements > 0) { | 941 if (stack_elements > 0) { |
| 941 addiu(SP, SP, Immediate(stack_elements * kWordSize)); | 942 addiu(SP, SP, Immediate(stack_elements * kWordSize)); |
| (...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1761 Register value, | 1762 Register value, |
| 1762 Label* no_update); | 1763 Label* no_update); |
| 1763 | 1764 |
| 1764 DISALLOW_ALLOCATION(); | 1765 DISALLOW_ALLOCATION(); |
| 1765 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1766 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1766 }; | 1767 }; |
| 1767 | 1768 |
| 1768 } // namespace dart | 1769 } // namespace dart |
| 1769 | 1770 |
| 1770 #endif // VM_ASSEMBLER_MIPS_H_ | 1771 #endif // VM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |