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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 | 963 |
964 inline void ObjectTag(Register tagged_obj, Register obj); | 964 inline void ObjectTag(Register tagged_obj, Register obj); |
965 inline void ObjectUntag(Register untagged_obj, Register obj); | 965 inline void ObjectUntag(Register untagged_obj, Register obj); |
966 | 966 |
967 // Abort execution if argument is not a name, enabled via --debug-code. | 967 // Abort execution if argument is not a name, enabled via --debug-code. |
968 void AssertName(Register object); | 968 void AssertName(Register object); |
969 | 969 |
970 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 970 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
971 void AssertFunction(Register object); | 971 void AssertFunction(Register object); |
972 | 972 |
| 973 // Abort execution if argument is not a JSGeneratorObject, |
| 974 // enabled via --debug-code. |
| 975 void AssertGeneratorObject(Register object); |
| 976 |
973 // Abort execution if argument is not a JSBoundFunction, | 977 // Abort execution if argument is not a JSBoundFunction, |
974 // enabled via --debug-code. | 978 // enabled via --debug-code. |
975 void AssertBoundFunction(Register object); | 979 void AssertBoundFunction(Register object); |
976 | 980 |
977 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. | 981 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
978 void AssertReceiver(Register object); | 982 void AssertReceiver(Register object); |
979 | 983 |
980 // Abort execution if argument is not undefined or an AllocationSite, enabled | 984 // Abort execution if argument is not undefined or an AllocationSite, enabled |
981 // via --debug-code. | 985 // via --debug-code. |
982 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 986 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2272 #error "Unsupported option" | 2276 #error "Unsupported option" |
2273 #define CODE_COVERAGE_STRINGIFY(x) #x | 2277 #define CODE_COVERAGE_STRINGIFY(x) #x |
2274 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2278 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2275 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2279 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2276 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2280 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2277 #else | 2281 #else |
2278 #define ACCESS_MASM(masm) masm-> | 2282 #define ACCESS_MASM(masm) masm-> |
2279 #endif | 2283 #endif |
2280 | 2284 |
2281 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2285 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |