OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 }; | 92 }; |
93 enum RAStatus { kRAHasNotBeenSaved, kRAHasBeenSaved }; | 93 enum RAStatus { kRAHasNotBeenSaved, kRAHasBeenSaved }; |
94 | 94 |
95 Register GetRegisterThatIsNotOneOf(Register reg1, | 95 Register GetRegisterThatIsNotOneOf(Register reg1, |
96 Register reg2 = no_reg, | 96 Register reg2 = no_reg, |
97 Register reg3 = no_reg, | 97 Register reg3 = no_reg, |
98 Register reg4 = no_reg, | 98 Register reg4 = no_reg, |
99 Register reg5 = no_reg, | 99 Register reg5 = no_reg, |
100 Register reg6 = no_reg); | 100 Register reg6 = no_reg); |
101 | 101 |
102 bool AreAliased(Register reg1, | 102 bool AreAliased(Register reg1, Register reg2, Register reg3 = no_reg, |
103 Register reg2, | 103 Register reg4 = no_reg, Register reg5 = no_reg, |
104 Register reg3 = no_reg, | 104 Register reg6 = no_reg, Register reg7 = no_reg, |
105 Register reg4 = no_reg, | 105 Register reg8 = no_reg, Register reg9 = no_reg, |
106 Register reg5 = no_reg, | 106 Register reg10 = no_reg); |
107 Register reg6 = no_reg, | |
108 Register reg7 = no_reg, | |
109 Register reg8 = no_reg); | |
110 | 107 |
111 | 108 |
112 // ----------------------------------------------------------------------------- | 109 // ----------------------------------------------------------------------------- |
113 // Static helper functions. | 110 // Static helper functions. |
114 | 111 |
115 inline MemOperand ContextMemOperand(Register context, int index) { | 112 inline MemOperand ContextMemOperand(Register context, int index) { |
116 return MemOperand(context, Context::SlotOffset(index)); | 113 return MemOperand(context, Context::SlotOffset(index)); |
117 } | 114 } |
118 | 115 |
119 | 116 |
(...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1759 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1756 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1760 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1757 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1761 #else | 1758 #else |
1762 #define ACCESS_MASM(masm) masm-> | 1759 #define ACCESS_MASM(masm) masm-> |
1763 #endif | 1760 #endif |
1764 | 1761 |
1765 } // namespace internal | 1762 } // namespace internal |
1766 } // namespace v8 | 1763 } // namespace v8 |
1767 | 1764 |
1768 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1765 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |