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 2294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2305 // | 2305 // |
2306 // Note that the total size of the fields is restricted by the underlying | 2306 // Note that the total size of the fields is restricted by the underlying |
2307 // storage size handled by the BitField class, which is a uint32_t. | 2307 // storage size handled by the BitField class, which is a uint32_t. |
2308 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2308 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
2309 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2309 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
2310 }; | 2310 }; |
2311 | 2311 |
2312 } // namespace internal | 2312 } // namespace internal |
2313 } // namespace v8 | 2313 } // namespace v8 |
2314 | 2314 |
2315 #ifdef GENERATED_CODE_COVERAGE | |
2316 #error "Unsupported option" | |
2317 #define CODE_COVERAGE_STRINGIFY(x) #x | |
2318 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | |
2319 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | |
2320 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | |
2321 #else | |
2322 #define ACCESS_MASM(masm) masm-> | 2315 #define ACCESS_MASM(masm) masm-> |
2323 #endif | |
2324 | 2316 |
2325 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2317 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |