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

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

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards 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/simulator_dbc.h ('k') | runtime/vm/snapshot.h » ('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 // Declares a Simulator for MIPS instructions if we are not generating a native 5 // Declares a Simulator for MIPS instructions if we are not generating a native
6 // MIPS binary. This Simulator allows us to run and debug MIPS code generation 6 // MIPS binary. This Simulator allows us to run and debug MIPS code generation
7 // on regular desktop machines. 7 // on regular desktop machines.
8 // Dart calls into generated code by "calling" the InvokeDartCode stub, 8 // Dart calls into generated code by "calling" the InvokeDartCode stub,
9 // which will start execution in the Simulator or forwards to the real entry 9 // which will start execution in the Simulator or forwards to the real entry
10 // on a MIPS HW platform. 10 // on a MIPS HW platform.
11 11
12 #ifndef VM_SIMULATOR_MIPS_H_ 12 #ifndef RUNTIME_VM_SIMULATOR_MIPS_H_
13 #define VM_SIMULATOR_MIPS_H_ 13 #define RUNTIME_VM_SIMULATOR_MIPS_H_
14 14
15 #ifndef VM_SIMULATOR_H_ 15 #ifndef RUNTIME_VM_SIMULATOR_H_
16 #error Do not include simulator_mips.h directly; use simulator.h. 16 #error Do not include simulator_mips.h directly; use simulator.h.
17 #endif 17 #endif
18 18
19 #include "vm/constants_mips.h" 19 #include "vm/constants_mips.h"
20 20
21 namespace dart { 21 namespace dart {
22 22
23 class Isolate; 23 class Isolate;
24 class Mutex; 24 class Mutex;
25 class RawObject; 25 class RawObject;
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 last_setjmp_buffer_ = buffer; 260 last_setjmp_buffer_ = buffer;
261 } 261 }
262 262
263 friend class SimulatorDebugger; 263 friend class SimulatorDebugger;
264 friend class SimulatorSetjmpBuffer; 264 friend class SimulatorSetjmpBuffer;
265 DISALLOW_COPY_AND_ASSIGN(Simulator); 265 DISALLOW_COPY_AND_ASSIGN(Simulator);
266 }; 266 };
267 267
268 } // namespace dart 268 } // namespace dart
269 269
270 #endif // VM_SIMULATOR_MIPS_H_ 270 #endif // RUNTIME_VM_SIMULATOR_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/vm/simulator_dbc.h ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698