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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" | 10 #include "src/base/flags.h" |
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1195 | 1195 |
1196 // Abort execution if argument is not a string, enabled via --debug-code. | 1196 // Abort execution if argument is not a string, enabled via --debug-code. |
1197 void AssertString(Register object); | 1197 void AssertString(Register object); |
1198 | 1198 |
1199 // Abort execution if argument is not a name, enabled via --debug-code. | 1199 // Abort execution if argument is not a name, enabled via --debug-code. |
1200 void AssertName(Register object); | 1200 void AssertName(Register object); |
1201 | 1201 |
1202 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1202 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1203 void AssertFunction(Register object); | 1203 void AssertFunction(Register object); |
1204 | 1204 |
| 1205 // Abort execution if argument is not a JSBoundFunction, |
| 1206 // enabled via --debug-code. |
| 1207 void AssertBoundFunction(Register object); |
| 1208 |
1205 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1209 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1206 // via --debug-code. | 1210 // via --debug-code. |
1207 void AssertUndefinedOrAllocationSite(Register object); | 1211 void AssertUndefinedOrAllocationSite(Register object); |
1208 | 1212 |
1209 // Abort execution if argument is not the root value with the given index, | 1213 // Abort execution if argument is not the root value with the given index, |
1210 // enabled via --debug-code. | 1214 // enabled via --debug-code. |
1211 void AssertRootValue(Register src, | 1215 void AssertRootValue(Register src, |
1212 Heap::RootListIndex root_value_index, | 1216 Heap::RootListIndex root_value_index, |
1213 BailoutReason reason); | 1217 BailoutReason reason); |
1214 | 1218 |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1735 } \ | 1739 } \ |
1736 masm-> | 1740 masm-> |
1737 #else | 1741 #else |
1738 #define ACCESS_MASM(masm) masm-> | 1742 #define ACCESS_MASM(masm) masm-> |
1739 #endif | 1743 #endif |
1740 | 1744 |
1741 } // namespace internal | 1745 } // namespace internal |
1742 } // namespace v8 | 1746 } // namespace v8 |
1743 | 1747 |
1744 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |