OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 | |
7 #if defined(TARGET_ARCH_MIPS) | 6 #if defined(TARGET_ARCH_MIPS) |
8 | 7 |
9 #include "vm/cpu.h" | 8 #include "vm/cpu.h" |
| 9 #include "vm/cpu_mips.h" |
| 10 |
10 #include "vm/cpuinfo.h" | 11 #include "vm/cpuinfo.h" |
11 #include "vm/simulator.h" | 12 #include "vm/simulator.h" |
12 | 13 |
13 #if !defined(USING_SIMULATOR) | 14 #if !defined(USING_SIMULATOR) |
14 #include <asm/cachectl.h> /* NOLINT */ | 15 #include <asm/cachectl.h> /* NOLINT */ |
15 #include <sys/syscall.h> /* NOLINT */ | 16 #include <sys/syscall.h> /* NOLINT */ |
16 #include <unistd.h> /* NOLINT */ | 17 #include <unistd.h> /* NOLINT */ |
17 #endif | 18 #endif |
18 | 19 |
19 namespace dart { | 20 namespace dart { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 ASSERT(hardware_ != NULL); | 100 ASSERT(hardware_ != NULL); |
100 free(const_cast<char*>(hardware_)); | 101 free(const_cast<char*>(hardware_)); |
101 hardware_ = NULL; | 102 hardware_ = NULL; |
102 CpuInfo::Cleanup(); | 103 CpuInfo::Cleanup(); |
103 } | 104 } |
104 #endif // defined(HOST_ARCH_MIPS) | 105 #endif // defined(HOST_ARCH_MIPS) |
105 | 106 |
106 } // namespace dart | 107 } // namespace dart |
107 | 108 |
108 #endif // defined TARGET_ARCH_MIPS | 109 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |