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

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

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months 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: 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)) {

Powered by Google App Engine
This is Rietveld 408576698