Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index bda34bdfacacbb369f5e8db2b18d03c6f38b1ec7..726212ba20f840a2988b1039d32c3f8e514c12ec 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6582,6 +6582,9 @@ Isolate* Isolate::New(const Isolate::CreateParams& params) { |
if (params.enable_serializer) { |
isolate->enable_serializer(); |
} |
+#if _WIN64 |
+ isolate->set_exception_filter(params.exception_filter); |
+#endif |
// TODO(jochen): Once we got rid of Isolate::Current(), we can remove this. |
Isolate::Scope isolate_scope(v8_isolate); |
if (params.entry_hook || !i::Snapshot::Initialize(isolate)) { |