Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index c6a8b813beb74dac3f34f4c4759060922f6b5ff8..921e52f288487e814187f552151d95c65d1303b9 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1505,6 +1505,9 @@ Isolate::Isolate() |
// be fixed once the default isolate cleanup is done. |
random_number_generator_(NULL), |
serializer_enabled_(false), |
+#ifdef _WIN64 |
+ exception_filter_(NULL), |
+#endif |
has_fatal_error_(false), |
initialized_from_snapshot_(false), |
cpu_profiler_(NULL), |
@@ -1908,6 +1911,13 @@ bool Isolate::Init(Deserializer* des) { |
return false; |
} |
+#ifdef _WIN64 |
+ CHECK(serializer_enabled_ || exception_filter_); |
+ if (exception_filter_) { |
+ InstallExceptionFilter(this, exception_filter_); |
+ } |
+#endif |
+ |
deoptimizer_data_ = new DeoptimizerData(memory_allocator_); |
const bool create_heap_objects = (des == NULL); |