| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_S390_MACRO_ASSEMBLER_S390_H_ | 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ |
| 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ | 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1780 | 1780 |
| 1781 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al, | 1781 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al, |
| 1782 CRegister cr = cr7); | 1782 CRegister cr = cr7); |
| 1783 | 1783 |
| 1784 // Helper functions for generating invokes. | 1784 // Helper functions for generating invokes. |
| 1785 void InvokePrologue(const ParameterCount& expected, | 1785 void InvokePrologue(const ParameterCount& expected, |
| 1786 const ParameterCount& actual, Label* done, | 1786 const ParameterCount& actual, Label* done, |
| 1787 bool* definitely_mismatches, InvokeFlag flag, | 1787 bool* definitely_mismatches, InvokeFlag flag, |
| 1788 const CallWrapper& call_wrapper); | 1788 const CallWrapper& call_wrapper); |
| 1789 | 1789 |
| 1790 void InitializeNewString(Register string, Register length, | |
| 1791 Heap::RootListIndex map_index, Register scratch1, | |
| 1792 Register scratch2); | |
| 1793 | |
| 1794 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. | 1790 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. |
| 1795 void InNewSpace(Register object, Register scratch, | 1791 void InNewSpace(Register object, Register scratch, |
| 1796 Condition cond, // eq for new space, ne otherwise. | 1792 Condition cond, // eq for new space, ne otherwise. |
| 1797 Label* branch); | 1793 Label* branch); |
| 1798 | 1794 |
| 1799 // Helper for finding the mark bits for an address. Afterwards, the | 1795 // Helper for finding the mark bits for an address. Afterwards, the |
| 1800 // bitmap register points at the word with the mark bits and the mask | 1796 // bitmap register points at the word with the mark bits and the mask |
| 1801 // the position of the first bit. Leaves addr_reg unchanged. | 1797 // the position of the first bit. Leaves addr_reg unchanged. |
| 1802 inline void GetMarkBits(Register addr_reg, Register bitmap_reg, | 1798 inline void GetMarkBits(Register addr_reg, Register bitmap_reg, |
| 1803 Register mask_reg); | 1799 Register mask_reg); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1853 inline MemOperand NativeContextMemOperand() { | 1849 inline MemOperand NativeContextMemOperand() { |
| 1854 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1850 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1855 } | 1851 } |
| 1856 | 1852 |
| 1857 #define ACCESS_MASM(masm) masm-> | 1853 #define ACCESS_MASM(masm) masm-> |
| 1858 | 1854 |
| 1859 } // namespace internal | 1855 } // namespace internal |
| 1860 } // namespace v8 | 1856 } // namespace v8 |
| 1861 | 1857 |
| 1862 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1858 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
| OLD | NEW |