Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: runtime/vm/cpu_mips.cc

Issue 2455983002: Small cleanups and linter fixes. (Closed)
Patch Set: Small cleanups Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/cpu_ia32.cc ('k') | runtime/vm/cpu_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « runtime/vm/cpu_ia32.cc ('k') | runtime/vm/cpu_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698