Index: src/top.cc |
diff --git a/src/top.cc b/src/top.cc |
index 6d68231351a2ed66d168a0d56f8c3e5cf1ba40c9..f44de7ad68d41c308f27fa9674925d91d08294ad 100644 |
--- a/src/top.cc |
+++ b/src/top.cc |
@@ -77,9 +77,9 @@ void ThreadLocalTop::Initialize() { |
InitializeInternal(); |
#ifdef USE_SIMULATOR |
#ifdef V8_TARGET_ARCH_ARM |
- simulator_ = Simulator::current(isolate_); |
+ simulator_ = Simulator::current(Isolate::Current()); |
#elif V8_TARGET_ARCH_MIPS |
- simulator_ = Simulator::current(isolate_); |
+ simulator_ = Simulator::current(Isolate::Current()); |
#endif |
#endif |
thread_id_ = ThreadId::Current(); |