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

Side by Side Diff: runtime/vm/cpu.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months 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/constants_x64.h ('k') | runtime/vm/cpu_arm.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) 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 #ifndef RUNTIME_VM_CPU_H_ 5 #ifndef RUNTIME_VM_CPU_H_
6 #define RUNTIME_VM_CPU_H_ 6 #define RUNTIME_VM_CPU_H_
7 7
8 #include "vm/allocation.h"
8 #include "vm/globals.h" 9 #include "vm/globals.h"
9 #include "vm/allocation.h"
10 10
11 namespace dart { 11 namespace dart {
12 12
13 // Forward Declarations. 13 // Forward Declarations.
14 class Error; 14 class Error;
15 class Instance; 15 class Instance;
16 16
17
18 class CPU : public AllStatic { 17 class CPU : public AllStatic {
19 public: 18 public:
20 static void FlushICache(uword start, uword size); 19 static void FlushICache(uword start, uword size);
21 static const char* Id(); 20 static const char* Id();
22 }; 21 };
23 22
24 } // namespace dart 23 } // namespace dart
25 24
26 #if defined(TARGET_ARCH_IA32) 25 #if defined(TARGET_ARCH_IA32)
27 #include "vm/cpu_ia32.h" 26 #include "vm/cpu_ia32.h"
28 #elif defined(TARGET_ARCH_X64) 27 #elif defined(TARGET_ARCH_X64)
29 #include "vm/cpu_x64.h" 28 #include "vm/cpu_x64.h"
30 #elif defined(TARGET_ARCH_ARM) 29 #elif defined(TARGET_ARCH_ARM)
31 #include "vm/cpu_arm.h" 30 #include "vm/cpu_arm.h"
32 #elif defined(TARGET_ARCH_ARM64) 31 #elif defined(TARGET_ARCH_ARM64)
33 #include "vm/cpu_arm64.h" 32 #include "vm/cpu_arm64.h"
34 #elif defined(TARGET_ARCH_DBC) 33 #elif defined(TARGET_ARCH_DBC)
35 #include "vm/cpu_dbc.h" 34 #include "vm/cpu_dbc.h"
36 #else 35 #else
37 #error Unknown architecture. 36 #error Unknown architecture.
38 #endif 37 #endif
39 38
40 #endif // RUNTIME_VM_CPU_H_ 39 #endif // RUNTIME_VM_CPU_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_x64.h ('k') | runtime/vm/cpu_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698