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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart

Issue 11558034: Second version of support for specifying an unhandled exception callback (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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
« no previous file with comments | « runtime/vm/object_store.cc ('k') | sdk/lib/isolate/base.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart (revision 16084)
+++ sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart (working copy)
@@ -11,7 +11,8 @@
return lazyPort;
}
-patch SendPort spawnFunction(void topLevelFunction()) {
+patch SendPort spawnFunction(void topLevelFunction(),
+ [bool UnhandledExceptionCallback(IsolateUnhandledException e)]) {
return IsolateNatives.spawnFunction(topLevelFunction);
}
« no previous file with comments | « runtime/vm/object_store.cc ('k') | sdk/lib/isolate/base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698