OLD | NEW |
---|---|
(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_ | |
OLD | NEW |