| 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 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1668 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1668 Condition cc, FPURegister cmp1, FPURegister cmp2, |
| 1669 BranchDelaySlot bd = PROTECT); | 1669 BranchDelaySlot bd = PROTECT); |
| 1670 | 1670 |
| 1671 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, | 1671 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, |
| 1672 FPURegister cmp1, FPURegister cmp2, | 1672 FPURegister cmp1, FPURegister cmp2, |
| 1673 BranchDelaySlot bd = PROTECT); | 1673 BranchDelaySlot bd = PROTECT); |
| 1674 | 1674 |
| 1675 // Helper functions for generating invokes. | 1675 // Helper functions for generating invokes. |
| 1676 void InvokePrologue(const ParameterCount& expected, | 1676 void InvokePrologue(const ParameterCount& expected, |
| 1677 const ParameterCount& actual, | 1677 const ParameterCount& actual, |
| 1678 Handle<Code> code_constant, | |
| 1679 Register code_reg, | |
| 1680 Label* done, | 1678 Label* done, |
| 1681 bool* definitely_mismatches, | 1679 bool* definitely_mismatches, |
| 1682 InvokeFlag flag, | 1680 InvokeFlag flag, |
| 1683 const CallWrapper& call_wrapper); | 1681 const CallWrapper& call_wrapper); |
| 1684 | 1682 |
| 1685 void InitializeNewString(Register string, | 1683 void InitializeNewString(Register string, |
| 1686 Register length, | 1684 Register length, |
| 1687 Heap::RootListIndex map_index, | 1685 Heap::RootListIndex map_index, |
| 1688 Register scratch1, | 1686 Register scratch1, |
| 1689 Register scratch2); | 1687 Register scratch2); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1763 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1761 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1764 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1762 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1765 #else | 1763 #else |
| 1766 #define ACCESS_MASM(masm) masm-> | 1764 #define ACCESS_MASM(masm) masm-> |
| 1767 #endif | 1765 #endif |
| 1768 | 1766 |
| 1769 } // namespace internal | 1767 } // namespace internal |
| 1770 } // namespace v8 | 1768 } // namespace v8 |
| 1771 | 1769 |
| 1772 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1770 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |