Index: runtime/lib/isolate.dart |
diff --git a/runtime/lib/isolate.dart b/runtime/lib/isolate.dart |
index f98ffda5169f3f7074b5a64fa6d3d7b562bd0ab8..41c039cbe69b7caa79178f028a8266865dcdec13 100644 |
--- a/runtime/lib/isolate.dart |
+++ b/runtime/lib/isolate.dart |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -114,22 +114,6 @@ class _SendPortImpl implements SendPort { |
final int _id; |
} |
-class _IsolateNatives { |
- static Future<SendPort> spawn(Isolate isolate, bool isLight) { |
- Completer<SendPort> completer = new Completer<SendPort>(); |
- SendPort port = _start(isolate, isLight); |
- completer.complete(port); |
- return completer.future; |
- } |
- |
- // Starts a new isolate calling the run method on a new instance of the |
- // remote class's type. |
- // Returns the send port which is passed to the newly created isolate. |
- // This method is being dispatched to from the public core library code. |
- static SendPort _start(Isolate isolate, bool light) |
- native "IsolateNatives_start"; |
-} |
- |
_getPortInternal() native "isolate_getPortInternal"; |
ReceivePort _portInternal; |