Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: src/top.cc

Issue 6788023: Per-isolate v8::Locker and v8::Unlocker (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: New tests for IsLocker Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698