| Index: sdk/lib/_internal/compiler/implementation/lib/async_patch.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/async_patch.dart
|
| similarity index 59%
|
| copy from sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
|
| copy to sdk/lib/_internal/compiler/implementation/lib/async_patch.dart
|
| index cd661b177c6e36fecad20d7693239517edeb1310..a8cddae958d7ed4791d559c9130bb9b88045dd90 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/async_patch.dart
|
| @@ -2,31 +2,7 @@
|
| // 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.
|
|
|
| -// Patch file for the dart:isolate library.
|
| -
|
| -patch ReceivePort get port {
|
| - if (lazyPort == null) {
|
| - lazyPort = new ReceivePort();
|
| - }
|
| - return lazyPort;
|
| -}
|
| -
|
| -patch SendPort spawnFunction(void topLevelFunction(),
|
| - [bool UnhandledExceptionCallback(IsolateUnhandledException e)]) {
|
| - return IsolateNatives.spawnFunction(topLevelFunction);
|
| -}
|
| -
|
| -patch SendPort spawnUri(String uri) {
|
| - return IsolateNatives.spawn(null, uri, false);
|
| -}
|
| -
|
| -
|
| -/** Default factory for receive ports. */
|
| -patch class ReceivePort {
|
| - patch factory ReceivePort() {
|
| - return new ReceivePortImpl();
|
| - }
|
| -}
|
| +// Patch file for the dart:async library.
|
|
|
| patch class Timer {
|
| patch factory Timer(int milliseconds, void callback(Timer timer)) {
|
|
|