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 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 // upper half of the smi. | 1614 // upper half of the smi. |
1615 STATIC_ASSERT(kSmiTag == 0); | 1615 STATIC_ASSERT(kSmiTag == 0); |
1616 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 32); | 1616 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 32); |
1617 #endif | 1617 #endif |
1618 #if V8_TARGET_LITTLE_ENDIAN | 1618 #if V8_TARGET_LITTLE_ENDIAN |
1619 #define SmiWordOffset(offset) (offset + kPointerSize / 2) | 1619 #define SmiWordOffset(offset) (offset + kPointerSize / 2) |
1620 #else | 1620 #else |
1621 #define SmiWordOffset(offset) offset | 1621 #define SmiWordOffset(offset) offset |
1622 #endif | 1622 #endif |
1623 | 1623 |
| 1624 // Abort execution if argument is not a FixedArray, enabled via --debug-code. |
| 1625 void AssertFixedArray(Register object); |
| 1626 |
1624 void AssertFunction(Register object); | 1627 void AssertFunction(Register object); |
1625 | 1628 |
1626 // Abort execution if argument is not a JSBoundFunction, | 1629 // Abort execution if argument is not a JSBoundFunction, |
1627 // enabled via --debug-code. | 1630 // enabled via --debug-code. |
1628 void AssertBoundFunction(Register object); | 1631 void AssertBoundFunction(Register object); |
1629 | 1632 |
1630 // Abort execution if argument is not a JSGeneratorObject, | 1633 // Abort execution if argument is not a JSGeneratorObject, |
1631 // enabled via --debug-code. | 1634 // enabled via --debug-code. |
1632 void AssertGeneratorObject(Register object, Register suspend_flags); | 1635 void AssertGeneratorObject(Register object, Register suspend_flags); |
1633 | 1636 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 inline MemOperand NativeContextMemOperand() { | 1822 inline MemOperand NativeContextMemOperand() { |
1820 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1823 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1821 } | 1824 } |
1822 | 1825 |
1823 #define ACCESS_MASM(masm) masm-> | 1826 #define ACCESS_MASM(masm) masm-> |
1824 | 1827 |
1825 } // namespace internal | 1828 } // namespace internal |
1826 } // namespace v8 | 1829 } // namespace v8 |
1827 | 1830 |
1828 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1831 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
OLD | NEW |