| 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 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1736 BranchDelaySlot bd = PROTECT); | 1736 BranchDelaySlot bd = PROTECT); |
| 1737 | 1737 |
| 1738 // Helper functions for generating invokes. | 1738 // Helper functions for generating invokes. |
| 1739 void InvokePrologue(const ParameterCount& expected, | 1739 void InvokePrologue(const ParameterCount& expected, |
| 1740 const ParameterCount& actual, | 1740 const ParameterCount& actual, |
| 1741 Label* done, | 1741 Label* done, |
| 1742 bool* definitely_mismatches, | 1742 bool* definitely_mismatches, |
| 1743 InvokeFlag flag, | 1743 InvokeFlag flag, |
| 1744 const CallWrapper& call_wrapper); | 1744 const CallWrapper& call_wrapper); |
| 1745 | 1745 |
| 1746 void InitializeNewString(Register string, | |
| 1747 Register length, | |
| 1748 Heap::RootListIndex map_index, | |
| 1749 Register scratch1, | |
| 1750 Register scratch2); | |
| 1751 | |
| 1752 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. | 1746 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. |
| 1753 void InNewSpace(Register object, Register scratch, | 1747 void InNewSpace(Register object, Register scratch, |
| 1754 Condition cond, // ne for new space, eq otherwise. | 1748 Condition cond, // ne for new space, eq otherwise. |
| 1755 Label* branch); | 1749 Label* branch); |
| 1756 | 1750 |
| 1757 // Helper for finding the mark bits for an address. Afterwards, the | 1751 // Helper for finding the mark bits for an address. Afterwards, the |
| 1758 // bitmap register points at the word with the mark bits and the mask | 1752 // bitmap register points at the word with the mark bits and the mask |
| 1759 // the position of the first bit. Leaves addr_reg unchanged. | 1753 // the position of the first bit. Leaves addr_reg unchanged. |
| 1760 inline void GetMarkBits(Register addr_reg, | 1754 inline void GetMarkBits(Register addr_reg, |
| 1761 Register bitmap_reg, | 1755 Register bitmap_reg, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1839 dd(GetLabelFunction(index)); | 1833 dd(GetLabelFunction(index)); |
| 1840 } | 1834 } |
| 1841 } | 1835 } |
| 1842 | 1836 |
| 1843 #define ACCESS_MASM(masm) masm-> | 1837 #define ACCESS_MASM(masm) masm-> |
| 1844 | 1838 |
| 1845 } // namespace internal | 1839 } // namespace internal |
| 1846 } // namespace v8 | 1840 } // namespace v8 |
| 1847 | 1841 |
| 1848 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1842 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |