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/bailout-reason.h" | 11 #include "src/bailout-reason.h" |
| 12 #include "src/base/bits.h" |
11 #include "src/globals.h" | 13 #include "src/globals.h" |
12 | 14 |
13 #include "src/arm64/assembler-arm64-inl.h" | |
14 #include "src/base/bits.h" | |
15 | |
16 // Simulator specific helpers. | 15 // Simulator specific helpers. |
17 #if USE_SIMULATOR | 16 #if USE_SIMULATOR |
18 // TODO(all): If possible automatically prepend an indicator like | 17 // TODO(all): If possible automatically prepend an indicator like |
19 // UNIMPLEMENTED or LOCATION. | 18 // UNIMPLEMENTED or LOCATION. |
20 #define ASM_UNIMPLEMENTED(message) \ | 19 #define ASM_UNIMPLEMENTED(message) \ |
21 __ Debug(message, __LINE__, NO_PARAM) | 20 __ Debug(message, __LINE__, NO_PARAM) |
22 #define ASM_UNIMPLEMENTED_BREAK(message) \ | 21 #define ASM_UNIMPLEMENTED_BREAK(message) \ |
23 __ Debug(message, __LINE__, \ | 22 __ Debug(message, __LINE__, \ |
24 FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK) | 23 FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK) |
25 #define ASM_LOCATION(message) \ | 24 #define ASM_LOCATION(message) \ |
(...skipping 2282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2308 #error "Unsupported option" | 2307 #error "Unsupported option" |
2309 #define CODE_COVERAGE_STRINGIFY(x) #x | 2308 #define CODE_COVERAGE_STRINGIFY(x) #x |
2310 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2309 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2311 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2310 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2312 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2311 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2313 #else | 2312 #else |
2314 #define ACCESS_MASM(masm) masm-> | 2313 #define ACCESS_MASM(masm) masm-> |
2315 #endif | 2314 #endif |
2316 | 2315 |
2317 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2316 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |