Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 035b4b363c2c0c021d9f789215ada2b79e436955..0ebb9a802b85822dcaf197b6113fc60661de108f 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -655,6 +655,10 @@ class Isolate { |
int frame_limit, |
StackTrace::StackTraceOptions options); |
+ typedef bool (*AbortOnUncaughtExceptionCallback)(v8::Isolate*); |
Michael Starzinger
2015/10/01 16:34:38
The "v8::AbortOnUncaughtExceptionCallback" typedef
julien.gilli
2015/10/01 19:18:11
Acknowledged.
julien.gilli
2015/10/05 17:24:25
Done.
|
+ void SetAbortOnUncaughtExceptionCallback( |
+ AbortOnUncaughtExceptionCallback callback); |
+ |
enum PrintStackMode { kPrintStackConcise, kPrintStackVerbose }; |
void PrintCurrentStackTrace(FILE* out); |
void PrintStack(StringStream* accumulator, |
@@ -1325,6 +1329,8 @@ class Isolate { |
std::set<Cancelable*> cancelable_tasks_; |
+ AbortOnUncaughtExceptionCallback abort_on_uncaught_exception_callback_; |
+ |
friend class ExecutionAccess; |
friend class HandleScopeImplementer; |
friend class OptimizingCompileDispatcher; |