| 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 2260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2271 // A width of 5 (Rd_width) for the SMI register preclues the use of csp, | 2271 // A width of 5 (Rd_width) for the SMI register preclues the use of csp, |
| 2272 // since kSPRegInternalCode is 63. However, csp should never hold a SMI or be | 2272 // since kSPRegInternalCode is 63. However, csp should never hold a SMI or be |
| 2273 // used in a patchable check. The Emit() method checks this. | 2273 // used in a patchable check. The Emit() method checks this. |
| 2274 // | 2274 // |
| 2275 // Note that the total size of the fields is restricted by the underlying | 2275 // Note that the total size of the fields is restricted by the underlying |
| 2276 // storage size handled by the BitField class, which is a uint32_t. | 2276 // storage size handled by the BitField class, which is a uint32_t. |
| 2277 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2277 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
| 2278 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2278 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
| 2279 }; | 2279 }; |
| 2280 | 2280 |
| 2281 } } // namespace v8::internal | 2281 } // namespace internal |
| 2282 } // namespace v8 |
| 2282 | 2283 |
| 2283 #ifdef GENERATED_CODE_COVERAGE | 2284 #ifdef GENERATED_CODE_COVERAGE |
| 2284 #error "Unsupported option" | 2285 #error "Unsupported option" |
| 2285 #define CODE_COVERAGE_STRINGIFY(x) #x | 2286 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2286 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2287 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2287 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2288 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2288 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2289 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2289 #else | 2290 #else |
| 2290 #define ACCESS_MASM(masm) masm-> | 2291 #define ACCESS_MASM(masm) masm-> |
| 2291 #endif | 2292 #endif |
| 2292 | 2293 |
| 2293 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2294 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |