summaryrefslogtreecommitdiff
path: root/deps/v8/src/isolate.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/isolate.h')
-rw-r--r--deps/v8/src/isolate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/isolate.h b/deps/v8/src/isolate.h
index eae5cad28..c621fcc2f 100644
--- a/deps/v8/src/isolate.h
+++ b/deps/v8/src/isolate.h
@@ -707,6 +707,9 @@ class Isolate {
int frame_limit,
StackTrace::StackTraceOptions options);
+ typedef bool (*abort_on_uncaught_exception_t)(v8::Isolate*);
+ void SetAbortOnUncaughtException(abort_on_uncaught_exception_t callback);
+
void PrintCurrentStackTrace(FILE* out);
void PrintStack(StringStream* accumulator);
void PrintStack(FILE* out);
@@ -1331,6 +1334,8 @@ class Isolate {
v8::Isolate::UseCounterCallback use_counter_callback_;
+ abort_on_uncaught_exception_t abort_on_uncaught_exception_callback_;
+
friend class ExecutionAccess;
friend class HandleScopeImplementer;
friend class IsolateInitializer;