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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/types/types.dart

Issue 14022007: Move Iterable implementation to collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Merge to head. Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library types; 5 library types;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue, IterableBase;
8 8
9 import '../dart2jslib.dart' hide Selector; 9 import '../dart2jslib.dart' hide Selector;
10 import '../js_backend/js_backend.dart' show JavaScriptBackend; 10 import '../js_backend/js_backend.dart' show JavaScriptBackend;
11 import '../tree/tree.dart'; 11 import '../tree/tree.dart';
12 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
13 import '../native_handler.dart' as native; 13 import '../native_handler.dart' as native;
14 import '../util/util.dart'; 14 import '../util/util.dart';
15 import '../universe/universe.dart'; 15 import '../universe/universe.dart';
16 import 'simple_types_inferrer.dart' show SimpleTypesInferrer; 16 import 'simple_types_inferrer.dart' show SimpleTypesInferrer;
17 import '../dart_types.dart'; 17 import '../dart_types.dart';
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 */ 104 */
105 TypeMask getGuaranteedTypeOfSelector(Selector selector) { 105 TypeMask getGuaranteedTypeOfSelector(Selector selector) {
106 return measure(() { 106 return measure(() {
107 if (typesInferrer != null) { 107 if (typesInferrer != null) {
108 return typesInferrer.getTypeOfSelector(selector); 108 return typesInferrer.getTypeOfSelector(selector);
109 } 109 }
110 return null; 110 return null;
111 }); 111 });
112 } 112 }
113 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698