| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index 471cf2f4afa507799de0d77704f0e57ddfb7b49b..d6d58b484bf6783cc2ee5bccb938f908022653d7 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -34,6 +34,10 @@ namespace base {
|
| class RandomNumberGenerator;
|
| }
|
|
|
| +namespace debug {
|
| +class ConsoleDelegate;
|
| +}
|
| +
|
| namespace internal {
|
|
|
| class AccessCompilerData;
|
| @@ -749,6 +753,11 @@ class Isolate {
|
| return MaybeHandle<T>();
|
| }
|
|
|
| + void set_console_delegate(debug::ConsoleDelegate* delegate) {
|
| + console_delegate_ = delegate;
|
| + }
|
| + debug::ConsoleDelegate* console_delegate() { return console_delegate_; }
|
| +
|
| // Re-throw an exception. This involves no error reporting since error
|
| // reporting was handled when the exception was thrown originally.
|
| Object* ReThrow(Object* exception);
|
| @@ -1552,6 +1561,8 @@ class Isolate {
|
|
|
| CancelableTaskManager* cancelable_task_manager_;
|
|
|
| + debug::ConsoleDelegate* console_delegate_ = nullptr;
|
| +
|
| v8::Isolate::AbortOnUncaughtExceptionCallback
|
| abort_on_uncaught_exception_callback_;
|
|
|
|
|