| 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/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
| (...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1703 const Operand& rt, | 1703 const Operand& rt, |
| 1704 BranchDelaySlot bdslot = PROTECT); | 1704 BranchDelaySlot bdslot = PROTECT); |
| 1705 void Jr(Label* L, BranchDelaySlot bdslot); | 1705 void Jr(Label* L, BranchDelaySlot bdslot); |
| 1706 void Jalr(Label* L, BranchDelaySlot bdslot); | 1706 void Jalr(Label* L, BranchDelaySlot bdslot); |
| 1707 | 1707 |
| 1708 // Common implementation of BranchF functions for the different formats. | 1708 // Common implementation of BranchF functions for the different formats. |
| 1709 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, | 1709 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, |
| 1710 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1710 Condition cc, FPURegister cmp1, FPURegister cmp2, |
| 1711 BranchDelaySlot bd = PROTECT); | 1711 BranchDelaySlot bd = PROTECT); |
| 1712 | 1712 |
| 1713 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, |
| 1714 FPURegister cmp1, FPURegister cmp2, |
| 1715 BranchDelaySlot bd = PROTECT); |
| 1716 |
| 1717 |
| 1713 // Helper functions for generating invokes. | 1718 // Helper functions for generating invokes. |
| 1714 void InvokePrologue(const ParameterCount& expected, | 1719 void InvokePrologue(const ParameterCount& expected, |
| 1715 const ParameterCount& actual, | 1720 const ParameterCount& actual, |
| 1716 Handle<Code> code_constant, | 1721 Handle<Code> code_constant, |
| 1717 Register code_reg, | 1722 Register code_reg, |
| 1718 Label* done, | 1723 Label* done, |
| 1719 bool* definitely_mismatches, | 1724 bool* definitely_mismatches, |
| 1720 InvokeFlag flag, | 1725 InvokeFlag flag, |
| 1721 const CallWrapper& call_wrapper); | 1726 const CallWrapper& call_wrapper); |
| 1722 | 1727 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1804 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1809 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1805 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1810 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1806 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1811 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1807 #else | 1812 #else |
| 1808 #define ACCESS_MASM(masm) masm-> | 1813 #define ACCESS_MASM(masm) masm-> |
| 1809 #endif | 1814 #endif |
| 1810 | 1815 |
| 1811 } } // namespace v8::internal | 1816 } } // namespace v8::internal |
| 1812 | 1817 |
| 1813 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1818 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |