Index: runtime/lib/isolate_patch.dart |
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart |
index 0dff00247d4d12b293f51b525a3d2b0b64eeec92..7e1c496bc3cb68635c8afbaa30bbe1619c59b714 100644 |
--- a/runtime/lib/isolate_patch.dart |
+++ b/runtime/lib/isolate_patch.dart |
@@ -282,7 +282,8 @@ patch class Isolate { |
try { |
// The VM will invoke [_startIsolate] with entryPoint as argument. |
readyPort = new RawReceivePort(); |
- _spawnFunction(readyPort.sendPort, entryPoint, message, paused); |
+ _spawnFunction(readyPort.sendPort, entryPoint, message, |
+ paused, errorsAreFatal, onExit, onError); |
Completer completer = new Completer<Isolate>.sync(); |
readyPort.handler = (readyMessage) { |
readyPort.close(); |
@@ -314,7 +315,8 @@ patch class Isolate { |
var packageRootString = |
(packageRoot == null) ? null : packageRoot.toString(); |
_spawnUri(readyPort.sendPort, uri.toString(), args, message, |
- paused, checked, packageRootString); |
+ paused, checked, packageRootString, |
+ errorsAreFatal, onExit, onError); |
Completer completer = new Completer<Isolate>.sync(); |
readyPort.handler = (readyMessage) { |
readyPort.close(); |
@@ -351,12 +353,14 @@ patch class Isolate { |
static void _spawnFunction(SendPort readyPort, Function topLevelFunction, |
- var message, bool paused) |
+ var message, bool paused, bool errorsAreFatal, |
+ SendPort onExit, SendPort onError) |
native "Isolate_spawnFunction"; |
static void _spawnUri(SendPort readyPort, String uri, |
List<String> args, var message, |
- bool paused, bool checked, String packageRoot) |
+ bool paused, bool checked, String packageRoot, |
+ bool errorsAreFatal, SendPort onExit, SendPort onError) |
native "Isolate_spawnUri"; |
static void _sendOOB(port, msg) native "Isolate_sendOOB"; |