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

Unified Diff: gin/isolate_holder.cc

Issue 619543002: Hook up custom Win 64 SEH to v8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: gin/isolate_holder.cc
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc
index 00e9d845bd067327fbf90838b96ab08fccc9732f..62ed9be866258b78796e070b4678177d4ab1044a 100644
--- a/gin/isolate_holder.cc
+++ b/gin/isolate_holder.cc
@@ -42,6 +42,17 @@ IsolateHolder::IsolateHolder() {
base::SysInfo::NumberOfProcessors());
isolate_ = v8::Isolate::New(params);
isolate_data_.reset(new PerIsolateData(isolate_, g_array_buffer_allocator));
+#if defined(OS_WIN)
+ {
+ void* code_range;
+ size_t size;
+ isolate_->GetCodeRange(&code_range, &size);
+ Debug::CodeRangeCreatedCallback callback =
+ DebugImpl::GetCodeRangeCreatedCallback();
+ if (code_range && size && callback)
+ callback(code_range, size);
+ }
+#endif
}
IsolateHolder::~IsolateHolder() {

Powered by Google App Engine
This is Rietveld 408576698