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

Unified Diff: runtime/vm/exceptions.cc

Issue 11413101: Added support for isolate unhandled exceptions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: runtime/vm/exceptions.cc
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc
index 479ad64437e836f83aa2a82f8492a484359eebfb..c40c99d4571940796ec9c2ce2eadd9005eb18b0f 100644
--- a/runtime/vm/exceptions.cc
+++ b/runtime/vm/exceptions.cc
@@ -439,6 +439,10 @@ RawObject* Exceptions::Create(
library = Library::IsolateLibrary();
class_name = Symbols::New("IsolateSpawnException");
break;
+ case kIsolateUnhandledException:
+ library = Library::IsolateLibrary();
+ class_name = Symbols::New("IsolateUnhandledException");
+ break;
}
return DartLibraryCalls::ExceptionCreate(library, class_name, arguments);
« no previous file with comments | « runtime/vm/exceptions.h ('k') | runtime/vm/isolate.h » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698