Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index a92554ebe3d19135e3671e29669fd83005e4170b..a501259cc00464d2e3597c27daedd4e521526282 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -1005,6 +1005,13 @@ class Isolate { |
bool serializer_enabled() const { return serializer_enabled_; } |
+#ifdef _WIN64 |
+ void set_exception_filter(WinExceptionFilter exception_filter) { |
+ DCHECK(state_ != INITIALIZED); |
+ exception_filter_ = exception_filter; |
+ } |
+#endif |
+ |
bool IsDead() { return has_fatal_error_; } |
void SignalFatalError() { has_fatal_error_ = true; } |
@@ -1272,6 +1279,10 @@ class Isolate { |
// Whether the isolate has been created for snapshotting. |
bool serializer_enabled_; |
+#ifdef _WIN64 |
+ WinExceptionFilter exception_filter_; |
+#endif |
+ |
// True if fatal error has been signaled for this isolate. |
bool has_fatal_error_; |