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 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1217 // Abort execution if argument is not a name, enabled via --debug-code. | 1217 // Abort execution if argument is not a name, enabled via --debug-code. |
1218 void AssertName(Register object); | 1218 void AssertName(Register object); |
1219 | 1219 |
1220 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1220 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1221 void AssertFunction(Register object); | 1221 void AssertFunction(Register object); |
1222 | 1222 |
1223 // Abort execution if argument is not a JSBoundFunction, | 1223 // Abort execution if argument is not a JSBoundFunction, |
1224 // enabled via --debug-code. | 1224 // enabled via --debug-code. |
1225 void AssertBoundFunction(Register object); | 1225 void AssertBoundFunction(Register object); |
1226 | 1226 |
| 1227 // Abort execution if argument is not a JSGeneratorObject, |
| 1228 // enabled via --debug-code. |
| 1229 void AssertGeneratorObject(Register object); |
| 1230 |
1227 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. | 1231 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
1228 void AssertReceiver(Register object); | 1232 void AssertReceiver(Register object); |
1229 | 1233 |
1230 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1234 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1231 // via --debug-code. | 1235 // via --debug-code. |
1232 void AssertUndefinedOrAllocationSite(Register object); | 1236 void AssertUndefinedOrAllocationSite(Register object); |
1233 | 1237 |
1234 // Abort execution if argument is not the root value with the given index, | 1238 // Abort execution if argument is not the root value with the given index, |
1235 // enabled via --debug-code. | 1239 // enabled via --debug-code. |
1236 void AssertRootValue(Register src, | 1240 void AssertRootValue(Register src, |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1761 } \ | 1765 } \ |
1762 masm-> | 1766 masm-> |
1763 #else | 1767 #else |
1764 #define ACCESS_MASM(masm) masm-> | 1768 #define ACCESS_MASM(masm) masm-> |
1765 #endif | 1769 #endif |
1766 | 1770 |
1767 } // namespace internal | 1771 } // namespace internal |
1768 } // namespace v8 | 1772 } // namespace v8 |
1769 | 1773 |
1770 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1774 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |