Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/enqueue.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
| index 986ebec06d94620ba6c28520e89836f9ea4b9e4a..80aab2260104d04e96333d6a94c1eb300d11187c 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/enqueue.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
| @@ -636,10 +636,15 @@ class ResolutionEnqueuer extends Enqueuer { |
| } else if (uri == 'dart:async') { |
| if (element.name == '_createTimer' || |
|
floitsch
2013/11/21 17:39:47
_createTimer, _createPeriodicTimer and scheduleImm
|
| element.name == '_createPeriodicTimer') { |
| - // The [:Timer:] class uses the event queue of the isolate |
| + // The `Timer` class uses the event queue of the isolate |
| // library, so we make sure that event queue is generated. |
| enableIsolateSupport(library); |
| } |
| + } else if (uri == 'dart:_collection-dev' && |
| + element.name == "scheduleImmediate") { |
| + // `scheduleImmediate` class uses the event queue of the isolate |
| + // library, so we make sure that event queue is generated. |
| + enableIsolateSupport(library); |
| } |
| } |