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

Unified Diff: src/isolate.h

Issue 2061623002: Introduce JIT code events dispatcher for the isolate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaseline Created 4 years, 6 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index a5409a5bed514a578855032bb7e842983a0c241e..1e805c0e5ddd26336e38852d0b2b158548747b39 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -5,6 +5,7 @@
#ifndef V8_ISOLATE_H_
#define V8_ISOLATE_H_
+#include <memory>
#include <queue>
#include <set>
@@ -42,6 +43,8 @@ namespace internal {
class BasicBlockProfiler;
class Bootstrapper;
class CallInterfaceDescriptorData;
+class CodeAgingHelper;
+class CodeEventDispatcher;
class CodeGenerator;
class CodeRange;
class CodeStubDescriptor;
@@ -66,7 +69,7 @@ class InlineRuntimeFunctionsTable;
class InnerPointerToCodeCache;
class Logger;
class MaterializedObjectStore;
-class CodeAgingHelper;
+class PositionsRecorder;
class RegExpStack;
class SaveContext;
class StatsTable;
@@ -919,6 +922,9 @@ class Isolate {
Debug* debug() { return debug_; }
bool* is_profiling_address() { return &is_profiling_; }
+ CodeEventDispatcher* code_event_dispatcher() const {
+ return code_event_dispatcher_.get();
+ }
CpuProfiler* cpu_profiler() const { return cpu_profiler_; }
HeapProfiler* heap_profiler() const { return heap_profiler_; }
@@ -1338,6 +1344,7 @@ class Isolate {
Debug* debug_;
CpuProfiler* cpu_profiler_;
HeapProfiler* heap_profiler_;
+ std::unique_ptr<CodeEventDispatcher> code_event_dispatcher_;
FunctionEntryHook function_entry_hook_;
interpreter::Interpreter* interpreter_;
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698