| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index f1c9b3ccfaae7843cfb1be0357ce056d105a6fb3..bf4c9fd353cdc5fe52693c6c263093825aeb4d6d 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"
|
| @@ -69,6 +70,7 @@ class HeapProfiler;
|
| class InlineRuntimeFunctionsTable;
|
| class NoAllocationStringAllocator;
|
| class InnerPointerToCodeCache;
|
| +class OptimizingCompilerThread;
|
| class PreallocatedMemoryThread;
|
| class RegExpStack;
|
| class SaveContext;
|
| @@ -1032,6 +1034,8 @@ class Isolate {
|
| date_cache_ = date_cache;
|
| }
|
|
|
| + void queue_for_optimization(Handle<JSFunction> function);
|
| +
|
| private:
|
| Isolate();
|
|
|
| @@ -1207,6 +1211,7 @@ class Isolate {
|
| RegExpStack* regexp_stack_;
|
| DateCache* date_cache_;
|
| unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
|
| + OptimizingCompilerThread* optimizing_compiler_thread_;
|
|
|
| // The garbage collector should be a little more aggressive when it knows
|
| // that a context was recently exited.
|
| @@ -1257,6 +1262,7 @@ class Isolate {
|
|
|
| friend class ExecutionAccess;
|
| friend class IsolateInitializer;
|
| + friend class OptimizingCompilerThread;
|
| friend class ThreadManager;
|
| friend class Simulator;
|
| friend class StackGuard;
|
|
|