Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Unified Diff: src/isolate.cc

Issue 606013002: Install function tables for the code range on Win64 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@bleeding_edge
Patch Set: updates Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698