| 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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 | 959 |
| 960 inline void ObjectTag(Register tagged_obj, Register obj); | 960 inline void ObjectTag(Register tagged_obj, Register obj); |
| 961 inline void ObjectUntag(Register untagged_obj, Register obj); | 961 inline void ObjectUntag(Register untagged_obj, Register obj); |
| 962 | 962 |
| 963 // Abort execution if argument is not a name, enabled via --debug-code. | 963 // Abort execution if argument is not a name, enabled via --debug-code. |
| 964 void AssertName(Register object); | 964 void AssertName(Register object); |
| 965 | 965 |
| 966 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 966 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
| 967 void AssertFunction(Register object); | 967 void AssertFunction(Register object); |
| 968 | 968 |
| 969 // Abort execution if argument is not a JSBoundFunction, |
| 970 // enabled via --debug-code. |
| 971 void AssertBoundFunction(Register object); |
| 972 |
| 969 // Abort execution if argument is not undefined or an AllocationSite, enabled | 973 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 970 // via --debug-code. | 974 // via --debug-code. |
| 971 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 975 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 972 | 976 |
| 973 // Abort execution if argument is not a string, enabled via --debug-code. | 977 // Abort execution if argument is not a string, enabled via --debug-code. |
| 974 void AssertString(Register object); | 978 void AssertString(Register object); |
| 975 | 979 |
| 976 void JumpIfHeapNumber(Register object, Label* on_heap_number, | 980 void JumpIfHeapNumber(Register object, Label* on_heap_number, |
| 977 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); | 981 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); |
| 978 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number, | 982 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number, |
| (...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2237 #error "Unsupported option" | 2241 #error "Unsupported option" |
| 2238 #define CODE_COVERAGE_STRINGIFY(x) #x | 2242 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2239 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2243 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2240 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2244 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2241 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2245 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2242 #else | 2246 #else |
| 2243 #define ACCESS_MASM(masm) masm-> | 2247 #define ACCESS_MASM(masm) masm-> |
| 2244 #endif | 2248 #endif |
| 2245 | 2249 |
| 2246 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2250 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |