| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index 44190c2adcedf4018e36ee3c08380b343a206f88..088c2478e6d3229033fd3e34984f9e77c8d055de 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -224,6 +224,7 @@ class ThreadLocalTop BASE_EMBEDDED {
|
| ASSERT(try_catch_handler_address_ == NULL);
|
| }
|
|
|
| + Isolate* isolate_;
|
| // The context where the current execution method is created and for variable
|
| // lookups.
|
| Context* context_;
|
| @@ -487,6 +488,10 @@ class Isolate {
|
| // Safe to call multiple times.
|
| static void EnsureDefaultIsolate();
|
|
|
| + // Find the PerThread for this particular (isolate, thread) combination
|
| + // If one does not yet exist, return null.
|
| + PerIsolateThreadData* FindPerThreadDataForThisThread();
|
| +
|
| #ifdef ENABLE_DEBUGGER_SUPPORT
|
| // Get the debugger from the default isolate. Preinitializes the
|
| // default isolate if needed.
|
| @@ -1066,7 +1071,7 @@ class Isolate {
|
| // If one does not yet exist, allocate a new one.
|
| PerIsolateThreadData* FindOrAllocatePerThreadDataForThisThread();
|
|
|
| - // PreInits and returns a default isolate. Needed when a new thread tries
|
| +// PreInits and returns a default isolate. Needed when a new thread tries
|
| // to create a Locker for the first time (the lock itself is in the isolate).
|
| static Isolate* GetDefaultIsolateForLocking();
|
|
|
| @@ -1198,9 +1203,13 @@ class Isolate {
|
|
|
| friend class ExecutionAccess;
|
| friend class IsolateInitializer;
|
| + friend class ThreadManager;
|
| + friend class Simulator;
|
| + friend class StackGuard;
|
| friend class ThreadId;
|
| friend class v8::Isolate;
|
| friend class v8::Locker;
|
| + friend class v8::Unlocker;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Isolate);
|
| };
|
|
|