Index: src/top.cc |
diff --git a/src/top.cc b/src/top.cc |
index 899dfbe252c47e06750ccb17e8135fd4d6550c01..8ae2c5d6396ef9faa2d8f96582ce3e07178c0c6f 100644 |
--- a/src/top.cc |
+++ b/src/top.cc |
@@ -55,9 +55,9 @@ void ThreadLocalTop::Initialize() { |
handler_ = 0; |
#ifdef USE_SIMULATOR |
#ifdef V8_TARGET_ARCH_ARM |
- simulator_ = Simulator::current(Isolate::Current()); |
+ simulator_ = Simulator::current(isolate_); |
#elif V8_TARGET_ARCH_MIPS |
- simulator_ = Simulator::current(Isolate::Current()); |
+ simulator_ = Simulator::current(isolate_); |
#endif |
#endif |
#ifdef ENABLE_LOGGING_AND_PROFILING |