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 // CPU specific code for arm independent of OS goes here. | 5 // CPU specific code for arm independent of OS goes here. |
6 | 6 |
7 #include "src/v8.h" | |
8 | |
9 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
10 | 8 |
11 #include "src/arm64/utils-arm64.h" | 9 #include "src/arm64/utils-arm64.h" |
12 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| 11 #include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker! |
13 | 12 |
14 namespace v8 { | 13 namespace v8 { |
15 namespace internal { | 14 namespace internal { |
16 | 15 |
17 class CacheLineSizes { | 16 class CacheLineSizes { |
18 public: | 17 public: |
19 CacheLineSizes() { | 18 CacheLineSizes() { |
20 #ifdef USE_SIMULATOR | 19 #ifdef USE_SIMULATOR |
21 cache_type_register_ = 0; | 20 cache_type_register_ = 0; |
22 #else | 21 #else |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // move this code before the code is generated. | 116 // move this code before the code is generated. |
118 : "cc", "memory" | 117 : "cc", "memory" |
119 ); // NOLINT | 118 ); // NOLINT |
120 #endif | 119 #endif |
121 } | 120 } |
122 | 121 |
123 } // namespace internal | 122 } // namespace internal |
124 } // namespace v8 | 123 } // namespace v8 |
125 | 124 |
126 #endif // V8_TARGET_ARCH_ARM64 | 125 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |