Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index b30564a391a30ec16e36573440785897a551cbaa..0623400abbd372665103fd027d049b111145f2cd 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -68,8 +68,12 @@ bool V8::Initialize(Deserializer* des) { |
OS::Setup(); |
// Initialize other runtime facilities |
-#if (defined(USE_SIMULATOR) || !V8_HOST_ARCH_ARM) && V8_TARGET_ARCH_ARM |
+#if defined(USE_SIMULATOR) |
+#if defined(V8_TARGET_ARCH_ARM) |
::assembler::arm::Simulator::Initialize(); |
+#elif defined(V8_TARGET_ARCH_MIPS) |
+ ::assembler::mips::Simulator::Initialize(); |
+#endif |
#endif |
{ // NOLINT |