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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 // Abort execution if argument is not a name, enabled via --debug-code. | 1209 // Abort execution if argument is not a name, enabled via --debug-code. |
1210 void AssertName(Register object); | 1210 void AssertName(Register object); |
1211 | 1211 |
1212 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1212 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1213 void AssertFunction(Register object); | 1213 void AssertFunction(Register object); |
1214 | 1214 |
1215 // Abort execution if argument is not a JSBoundFunction, | 1215 // Abort execution if argument is not a JSBoundFunction, |
1216 // enabled via --debug-code. | 1216 // enabled via --debug-code. |
1217 void AssertBoundFunction(Register object); | 1217 void AssertBoundFunction(Register object); |
1218 | 1218 |
| 1219 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
| 1220 void AssertReceiver(Register object); |
| 1221 |
1219 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1222 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1220 // via --debug-code. | 1223 // via --debug-code. |
1221 void AssertUndefinedOrAllocationSite(Register object); | 1224 void AssertUndefinedOrAllocationSite(Register object); |
1222 | 1225 |
1223 // Abort execution if argument is not the root value with the given index, | 1226 // Abort execution if argument is not the root value with the given index, |
1224 // enabled via --debug-code. | 1227 // enabled via --debug-code. |
1225 void AssertRootValue(Register src, | 1228 void AssertRootValue(Register src, |
1226 Heap::RootListIndex root_value_index, | 1229 Heap::RootListIndex root_value_index, |
1227 BailoutReason reason); | 1230 BailoutReason reason); |
1228 | 1231 |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1750 } \ | 1753 } \ |
1751 masm-> | 1754 masm-> |
1752 #else | 1755 #else |
1753 #define ACCESS_MASM(masm) masm-> | 1756 #define ACCESS_MASM(masm) masm-> |
1754 #endif | 1757 #endif |
1755 | 1758 |
1756 } // namespace internal | 1759 } // namespace internal |
1757 } // namespace v8 | 1760 } // namespace v8 |
1758 | 1761 |
1759 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1762 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |