OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/arm64/assembler-arm64.h" | 10 #include "src/arm64/assembler-arm64.h" |
(...skipping 1547 matching lines...) Loading... |
1558 Register value2, | 1558 Register value2, |
1559 Label* not_smi_label); | 1559 Label* not_smi_label); |
1560 | 1560 |
1561 // Abort execution if argument is a smi, enabled via --debug-code. | 1561 // Abort execution if argument is a smi, enabled via --debug-code. |
1562 void AssertNotSmi(Register object, BailoutReason reason = kOperandIsASmi); | 1562 void AssertNotSmi(Register object, BailoutReason reason = kOperandIsASmi); |
1563 void AssertSmi(Register object, BailoutReason reason = kOperandIsNotASmi); | 1563 void AssertSmi(Register object, BailoutReason reason = kOperandIsNotASmi); |
1564 | 1564 |
1565 inline void ObjectTag(Register tagged_obj, Register obj); | 1565 inline void ObjectTag(Register tagged_obj, Register obj); |
1566 inline void ObjectUntag(Register untagged_obj, Register obj); | 1566 inline void ObjectUntag(Register untagged_obj, Register obj); |
1567 | 1567 |
| 1568 // Abort execution if argument is not a FixedArray, enabled via --debug-code. |
| 1569 void AssertFixedArray(Register object); |
| 1570 |
1568 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1571 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1569 void AssertFunction(Register object); | 1572 void AssertFunction(Register object); |
1570 | 1573 |
1571 // Abort execution if argument is not a JSGeneratorObject, | 1574 // Abort execution if argument is not a JSGeneratorObject, |
1572 // enabled via --debug-code. | 1575 // enabled via --debug-code. |
1573 void AssertGeneratorObject(Register object, Register suspend_flags); | 1576 void AssertGeneratorObject(Register object, Register suspend_flags); |
1574 | 1577 |
1575 // Abort execution if argument is not a JSBoundFunction, | 1578 // Abort execution if argument is not a JSBoundFunction, |
1576 // enabled via --debug-code. | 1579 // enabled via --debug-code. |
1577 void AssertBoundFunction(Register object); | 1580 void AssertBoundFunction(Register object); |
(...skipping 1119 matching lines...) Loading... |
2697 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2700 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
2698 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2701 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
2699 }; | 2702 }; |
2700 | 2703 |
2701 } // namespace internal | 2704 } // namespace internal |
2702 } // namespace v8 | 2705 } // namespace v8 |
2703 | 2706 |
2704 #define ACCESS_MASM(masm) masm-> | 2707 #define ACCESS_MASM(masm) masm-> |
2705 | 2708 |
2706 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2709 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |