OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/globals.h" | 5 #include "vm/globals.h" |
6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
7 | 7 |
8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
9 #include "vm/cpu.h" | 9 #include "vm/cpu.h" |
10 #include "vm/cpuinfo.h" | 10 #include "vm/cpuinfo.h" |
11 #include "vm/heap.h" | 11 #include "vm/heap.h" |
12 #include "vm/isolate.h" | 12 #include "vm/isolate.h" |
13 #include "vm/object.h" | 13 #include "vm/object.h" |
14 #include "vm/simulator.h" | 14 #include "vm/simulator.h" |
15 #include "vm/thread.h" | |
16 | 15 |
17 #if defined(HOST_ARCH_ARM) | 16 #if defined(HOST_ARCH_ARM) |
18 #include <sys/syscall.h> /* NOLINT */ | 17 #include <sys/syscall.h> /* NOLINT */ |
19 #include <unistd.h> /* NOLINT */ | 18 #include <unistd.h> /* NOLINT */ |
20 #endif | 19 #endif |
21 | 20 |
22 namespace dart { | 21 namespace dart { |
23 | 22 |
24 DEFINE_FLAG(bool, use_vfp, true, "Use vfp instructions if supported"); | 23 DEFINE_FLAG(bool, use_vfp, true, "Use vfp instructions if supported"); |
25 DEFINE_FLAG(bool, use_neon, true, "Use neon instructions if supported"); | 24 DEFINE_FLAG(bool, use_neon, true, "Use neon instructions if supported"); |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 ASSERT(hardware_ != NULL); | 168 ASSERT(hardware_ != NULL); |
170 free(const_cast<char*>(hardware_)); | 169 free(const_cast<char*>(hardware_)); |
171 hardware_ = NULL; | 170 hardware_ = NULL; |
172 CpuInfo::Cleanup(); | 171 CpuInfo::Cleanup(); |
173 } | 172 } |
174 #endif // defined(HOST_ARCH_ARM) | 173 #endif // defined(HOST_ARCH_ARM) |
175 | 174 |
176 } // namespace dart | 175 } // namespace dart |
177 | 176 |
178 #endif // defined TARGET_ARCH_ARM | 177 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |