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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 // Abort execution if argument is not a name, enabled via --debug-code. | 1230 // Abort execution if argument is not a name, enabled via --debug-code. |
1231 void AssertName(Register object); | 1231 void AssertName(Register object); |
1232 | 1232 |
1233 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1233 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1234 void AssertFunction(Register object); | 1234 void AssertFunction(Register object); |
1235 | 1235 |
1236 // Abort execution if argument is not a JSBoundFunction, | 1236 // Abort execution if argument is not a JSBoundFunction, |
1237 // enabled via --debug-code. | 1237 // enabled via --debug-code. |
1238 void AssertBoundFunction(Register object); | 1238 void AssertBoundFunction(Register object); |
1239 | 1239 |
1240 // Abort execution if argument is not a JSGeneratorObject, | 1240 // Abort execution if argument is not a JSGeneratorObject or a |
1241 // enabled via --debug-code. | 1241 // JSAsyncGeneratorObject, enabled via --debug-code. |
1242 void AssertGeneratorObject(Register object); | 1242 void AssertGeneratorObject(Register object); |
1243 | 1243 |
| 1244 // Abort execution if argument is not a JSAsyncGeneratorObject, enabled via |
| 1245 // --debug-code. |
| 1246 void AssertAsyncGeneratorObject(Register object); |
| 1247 |
1244 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. | 1248 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
1245 void AssertReceiver(Register object); | 1249 void AssertReceiver(Register object); |
1246 | 1250 |
1247 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1251 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1248 // via --debug-code. | 1252 // via --debug-code. |
1249 void AssertUndefinedOrAllocationSite(Register object); | 1253 void AssertUndefinedOrAllocationSite(Register object); |
1250 | 1254 |
1251 // Abort execution if argument is not the root value with the given index, | 1255 // Abort execution if argument is not the root value with the given index, |
1252 // enabled via --debug-code. | 1256 // enabled via --debug-code. |
1253 void AssertRootValue(Register src, | 1257 void AssertRootValue(Register src, |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1682 inline Operand StackOperandForReturnAddress(int32_t disp) { | 1686 inline Operand StackOperandForReturnAddress(int32_t disp) { |
1683 return Operand(rsp, disp); | 1687 return Operand(rsp, disp); |
1684 } | 1688 } |
1685 | 1689 |
1686 #define ACCESS_MASM(masm) masm-> | 1690 #define ACCESS_MASM(masm) masm-> |
1687 | 1691 |
1688 } // namespace internal | 1692 } // namespace internal |
1689 } // namespace v8 | 1693 } // namespace v8 |
1690 | 1694 |
1691 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1695 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |