Chromium Code Reviews| Index: src/isolate.h |
| diff --git a/src/isolate.h b/src/isolate.h |
| index 24d4b0898de5d5cdb36327f12d24c3283b21e355..8f3c5693f9c6437b1303e75022b4fdfdf7967ba7 100644 |
| --- a/src/isolate.h |
| +++ b/src/isolate.h |
| @@ -88,6 +88,9 @@ class Redirection; |
| class Simulator; |
| #endif |
| +namespace compiler { |
|
titzer
2014/09/23 14:14:09
The more I think about it, this thing can't (entir
|
| +class BasicBlockProfiler; |
| +} |
| // Static indirection table for handles to constants. If a frame |
| // element represents a constant, the data contains an index into |
| @@ -1107,6 +1110,8 @@ class Isolate { |
| void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); |
| void CountUsage(v8::Isolate::UseCounterFeature feature); |
| + compiler::BasicBlockProfiler* GetBasicBlockProfiler(); |
| + |
| static Isolate* NewForTesting() { return new Isolate(); } |
| private: |
| @@ -1327,6 +1332,7 @@ class Isolate { |
| List<CallCompletedCallback> call_completed_callbacks_; |
| v8::Isolate::UseCounterCallback use_counter_callback_; |
| + compiler::BasicBlockProfiler* basic_block_profiler_; |
| friend class ExecutionAccess; |
| friend class HandleScopeImplementer; |