Index: runtime/vm/cpu.h |
=================================================================== |
--- runtime/vm/cpu.h (revision 32743) |
+++ runtime/vm/cpu.h (working copy) |
@@ -5,6 +5,7 @@ |
#ifndef VM_CPU_H_ |
#define VM_CPU_H_ |
+#include "vm/globals.h" |
#include "vm/allocation.h" |
namespace dart { |
@@ -20,6 +21,19 @@ |
static const char* Id(); |
}; |
+ |
siva
2014/02/21 19:28:55
extra blank line?
zra
2014/02/21 21:51:55
Removed.
|
} // namespace dart |
+#if defined(TARGET_ARCH_IA32) |
+#include "vm/cpu_ia32.h" |
+#elif defined(TARGET_ARCH_X64) |
+#include "vm/cpu_x64.h" |
+#elif defined(TARGET_ARCH_ARM) |
+#include "vm/cpu_arm.h" |
+#elif defined(TARGET_ARCH_MIPS) |
+#include "vm/cpu_mips.h" |
+#else |
+#error Unknown architecture. |
+#endif |
+ |
#endif // VM_CPU_H_ |