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

Unified Diff: src/api.cc

Issue 1375933003: Add SetAbortOnUncaughtExceptionCallback API (Closed) Base URL: git@github.com:v8/v8.git@master
Patch Set: Created 5 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/api.cc
diff --git a/src/api.cc b/src/api.cc
index cfc170ee8e1d3fedf1199916e7e81ea865c6dfb7..93322b26678becb81109d7aa4fa06e1f06538d10 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -7104,6 +7104,11 @@ void Isolate::Exit() {
isolate->Exit();
}
Michael Starzinger 2015/10/01 16:34:38 nit: Two empty newlines between top-level declarat
julien.gilli 2015/10/01 19:18:11 Acknowledged.
julien.gilli 2015/10/01 19:18:11 For some reason, it seems tools/presubmit.py didn'
julien.gilli 2015/10/05 17:24:24 Done.
+void Isolate::SetAbortOnUncaughtExceptionCallback(
+ AbortOnUncaughtExceptionCallback callback) {
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this);
+ isolate->SetAbortOnUncaughtExceptionCallback(callback);
+}
Michael Starzinger 2015/10/01 16:34:38 nit: Two empty newlines between top-level declarat
julien.gilli 2015/10/01 19:18:11 Acknowledged.
julien.gilli 2015/10/05 17:24:24 Done.
Isolate::DisallowJavascriptExecutionScope::DisallowJavascriptExecutionScope(
Isolate* isolate,

Powered by Google App Engine
This is Rietveld 408576698