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

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

Issue 12041056: Initial revision of ARM simulator and (empty) MIPS simulator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 #ifndef VM_SIMULATOR_H_
6 #define VM_SIMULATOR_H_
7
8 #include "vm/globals.h"
9
10 #if defined(TARGET_ARCH_IA32)
11 // No simulator used.
12 #elif defined(TARGET_ARCH_X64)
13 // No simulator used.
14 #elif defined(TARGET_ARCH_ARM)
15 #define USING_SIMULATOR
siva 2013/01/24 02:03:09 in globals.h we have used the pattern "#define <va
regis 2013/01/24 21:47:48 Good point. Fixed.
16 #include "vm/simulator_arm.h"
17 #elif defined(TARGET_ARCH_MIPS)
18 #define USING_SIMULATOR
19 #include "vm/simulator_mips.h"
siva 2013/01/24 02:03:09 Ditto comment for the MIPS case.
regis 2013/01/24 21:47:48 Done.
20 #else
21 #error Unknown architecture.
22 #endif
23
24 #endif // VM_SIMULATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698