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 "v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_ARM64 | 9 #if V8_TARGET_ARCH_ARM64 |
10 | 10 |
11 #include "cpu.h" | 11 #include "src/cpu.h" |
12 #include "arm64/utils-arm64.h" | 12 #include "src/arm64/utils-arm64.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 class CacheLineSizes { | 17 class CacheLineSizes { |
18 public: | 18 public: |
19 CacheLineSizes() { | 19 CacheLineSizes() { |
20 #ifdef USE_SIMULATOR | 20 #ifdef USE_SIMULATOR |
21 cache_type_register_ = 0; | 21 cache_type_register_ = 0; |
22 #else | 22 #else |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // This code does not write to memory but without the dependency gcc might | 114 // This code does not write to memory but without the dependency gcc might |
115 // move this code before the code is generated. | 115 // move this code before the code is generated. |
116 : "cc", "memory" | 116 : "cc", "memory" |
117 ); // NOLINT | 117 ); // NOLINT |
118 #endif | 118 #endif |
119 } | 119 } |
120 | 120 |
121 } } // namespace v8::internal | 121 } } // namespace v8::internal |
122 | 122 |
123 #endif // V8_TARGET_ARCH_ARM64 | 123 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |