| 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 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1634 const Operand& rt, | 1634 const Operand& rt, |
| 1635 BranchDelaySlot bdslot = PROTECT); | 1635 BranchDelaySlot bdslot = PROTECT); |
| 1636 void Jr(Label* L, BranchDelaySlot bdslot); | 1636 void Jr(Label* L, BranchDelaySlot bdslot); |
| 1637 void Jalr(Label* L, BranchDelaySlot bdslot); | 1637 void Jalr(Label* L, BranchDelaySlot bdslot); |
| 1638 | 1638 |
| 1639 // Common implementation of BranchF functions for the different formats. | 1639 // Common implementation of BranchF functions for the different formats. |
| 1640 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, | 1640 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, |
| 1641 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1641 Condition cc, FPURegister cmp1, FPURegister cmp2, |
| 1642 BranchDelaySlot bd = PROTECT); | 1642 BranchDelaySlot bd = PROTECT); |
| 1643 | 1643 |
| 1644 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, |
| 1645 FPURegister cmp1, FPURegister cmp2, |
| 1646 BranchDelaySlot bd = PROTECT); |
| 1647 |
| 1644 // Helper functions for generating invokes. | 1648 // Helper functions for generating invokes. |
| 1645 void InvokePrologue(const ParameterCount& expected, | 1649 void InvokePrologue(const ParameterCount& expected, |
| 1646 const ParameterCount& actual, | 1650 const ParameterCount& actual, |
| 1647 Handle<Code> code_constant, | 1651 Handle<Code> code_constant, |
| 1648 Register code_reg, | 1652 Register code_reg, |
| 1649 Label* done, | 1653 Label* done, |
| 1650 bool* definitely_mismatches, | 1654 bool* definitely_mismatches, |
| 1651 InvokeFlag flag, | 1655 InvokeFlag flag, |
| 1652 const CallWrapper& call_wrapper); | 1656 const CallWrapper& call_wrapper); |
| 1653 | 1657 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1735 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1739 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1736 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1740 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1737 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1741 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1738 #else | 1742 #else |
| 1739 #define ACCESS_MASM(masm) masm-> | 1743 #define ACCESS_MASM(masm) masm-> |
| 1740 #endif | 1744 #endif |
| 1741 | 1745 |
| 1742 } } // namespace v8::internal | 1746 } } // namespace v8::internal |
| 1743 | 1747 |
| 1744 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1748 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |