Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index de67a1c1f2343b298a95ad59ea2352ed152b8a22..510f7623c010a9ddcb57bea43e4d27d808d511ad 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -121,11 +121,7 @@ void ThreadLocalTop::InitializeInternal() { |
void ThreadLocalTop::Initialize() { |
InitializeInternal(); |
#ifdef USE_SIMULATOR |
-#if V8_TARGET_ARCH_ARM |
simulator_ = Simulator::current(isolate_); |
-#elif V8_TARGET_ARCH_MIPS |
- simulator_ = Simulator::current(isolate_); |
-#endif |
#endif |
thread_id_ = ThreadId::Current(); |
} |
@@ -1673,11 +1669,7 @@ char* Isolate::RestoreThread(char* from) { |
// This might be just paranoia, but it seems to be needed in case a |
// thread_local_top_ is restored on a separate OS thread. |
#ifdef USE_SIMULATOR |
-#if V8_TARGET_ARCH_ARM |
thread_local_top()->simulator_ = Simulator::current(this); |
-#elif V8_TARGET_ARCH_MIPS |
- thread_local_top()->simulator_ = Simulator::current(this); |
-#endif |
#endif |
ASSERT(context() == NULL || context()->IsContext()); |
return from + sizeof(ThreadLocalTop); |