Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 310b4cd6981a5dac5c33a85f8c61a7237e3228b6..312de7a97ff29c6f108f07bca63577952a9a9bad 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -467,6 +467,8 @@ class Debug { |
int NextAsyncTaskId(Handle<JSObject> promise); |
void SetAsyncTaskListener(debug::AsyncTaskListener listener, void* data); |
+ void SetCompileEventListener(debug::CompileEventListener listener, |
+ void* data); |
// Returns whether the operation succeeded. Compilation can only be triggered |
// if a valid closure is passed as the second argument, otherwise the shared |
@@ -665,6 +667,8 @@ class Debug { |
debug::AsyncTaskListener async_task_listener_ = nullptr; |
void* async_task_listener_data_ = nullptr; |
+ debug::CompileEventListener compile_event_listener_ = nullptr; |
+ void* compile_event_listener_data_ = nullptr; |
static const int kQueueInitialSize = 4; |
base::Semaphore command_received_; // Signaled for each command received. |