| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 }; | 77 }; |
| 78 enum RAStatus { kRAHasNotBeenSaved, kRAHasBeenSaved }; | 78 enum RAStatus { kRAHasNotBeenSaved, kRAHasBeenSaved }; |
| 79 | 79 |
| 80 Register GetRegisterThatIsNotOneOf(Register reg1, | 80 Register GetRegisterThatIsNotOneOf(Register reg1, |
| 81 Register reg2 = no_reg, | 81 Register reg2 = no_reg, |
| 82 Register reg3 = no_reg, | 82 Register reg3 = no_reg, |
| 83 Register reg4 = no_reg, | 83 Register reg4 = no_reg, |
| 84 Register reg5 = no_reg, | 84 Register reg5 = no_reg, |
| 85 Register reg6 = no_reg); | 85 Register reg6 = no_reg); |
| 86 | 86 |
| 87 bool AreAliased(Register r1, Register r2, Register r3, Register r4); | 87 bool AreAliased(Register reg1, |
| 88 Register reg2, |
| 89 Register reg3 = no_reg, |
| 90 Register reg4 = no_reg, |
| 91 Register reg5 = no_reg, |
| 92 Register reg6 = no_reg, |
| 93 Register reg7 = no_reg, |
| 94 Register reg8 = no_reg); |
| 88 | 95 |
| 89 | 96 |
| 90 // ----------------------------------------------------------------------------- | 97 // ----------------------------------------------------------------------------- |
| 91 // Static helper functions. | 98 // Static helper functions. |
| 92 | 99 |
| 93 inline MemOperand ContextOperand(Register context, int index) { | 100 inline MemOperand ContextOperand(Register context, int index) { |
| 94 return MemOperand(context, Context::SlotOffset(index)); | 101 return MemOperand(context, Context::SlotOffset(index)); |
| 95 } | 102 } |
| 96 | 103 |
| 97 | 104 |
| (...skipping 1592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1690 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1697 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1691 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1698 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1692 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1699 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1693 #else | 1700 #else |
| 1694 #define ACCESS_MASM(masm) masm-> | 1701 #define ACCESS_MASM(masm) masm-> |
| 1695 #endif | 1702 #endif |
| 1696 | 1703 |
| 1697 } } // namespace v8::internal | 1704 } } // namespace v8::internal |
| 1698 | 1705 |
| 1699 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1706 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |