Chromium Code Reviews| Index: src/isolate.h |
| diff --git a/src/isolate.h b/src/isolate.h |
| index ef33dcb3c0b79493adc7e13941e20dc9d122b49b..62d48752c99ce0a0ab5b24e04a65ca7714669c71 100644 |
| --- a/src/isolate.h |
| +++ b/src/isolate.h |
| @@ -41,6 +41,7 @@ |
| #include "handles.h" |
| #include "hashmap.h" |
| #include "heap.h" |
| +#include "optimizing-compiler-thread.h" |
| #include "regexp-stack.h" |
| #include "runtime-profiler.h" |
| #include "runtime.h" |
| @@ -52,6 +53,7 @@ namespace internal { |
| class Bootstrapper; |
| class CodeGenerator; |
| class CodeRange; |
| +class CompilerProxy; |
|
Yang
2012/07/19 14:26:31
Left over? I can't find any CompilerProxy class.
sanjoy
2012/07/19 15:06:09
Yeah, fixed.
|
| class CompilationCache; |
| class ContextSlotCache; |
| class ContextSwitcher; |
| @@ -762,7 +764,6 @@ class Isolate { |
| void IterateThread(ThreadVisitor* v); |
| void IterateThread(ThreadVisitor* v, char* t); |
|
Yang
2012/07/19 12:47:30
Stray edit?
sanjoy
2012/07/19 15:06:09
Done.
|
| - |
| // Returns the current global context. |
| Handle<Context> global_context(); |
| @@ -1059,6 +1060,10 @@ class Isolate { |
| void LinkDeferredHandles(DeferredHandles* deferred_handles); |
| void UnlinkDeferredHandles(DeferredHandles* deferred_handles); |
| + OptimizingCompilerThread* optimizing_compiler_thread() { |
| + return &optimizing_compiler_thread_; |
| + } |
| + |
| private: |
| Isolate(); |
| @@ -1283,9 +1288,15 @@ class Isolate { |
| #endif |
| DeferredHandles* deferred_handles_head_; |
| + OptimizingCompilerThread optimizing_compiler_thread_; |
| + |
| + public: |
| + CompilerProxy* compiler_proxy_; |
|
Yang
2012/07/19 14:26:31
ditto.
sanjoy
2012/07/19 15:06:09
Done.
|
| friend class ExecutionAccess; |
| + friend class HandleScopeImplementer; |
| friend class IsolateInitializer; |
| + friend class OptimizingCompilerThread; |
| friend class ThreadManager; |
| friend class Simulator; |
| friend class StackGuard; |