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

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

Issue 11867024: Move some core classes to collection library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with bug number. 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 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;
8
7 import '../dart2jslib.dart' hide Selector; 9 import '../dart2jslib.dart' hide Selector;
8 import '../tree/tree.dart'; 10 import '../tree/tree.dart';
9 import '../elements/elements.dart'; 11 import '../elements/elements.dart';
10 import '../util/util.dart'; 12 import '../util/util.dart';
11 import '../universe/universe.dart'; 13 import '../universe/universe.dart';
12 14
13 part 'concrete_types_inferrer.dart'; 15 part 'concrete_types_inferrer.dart';
14 16
15 /** 17 /**
16 * The types task infers guaranteed types globally. 18 * The types task infers guaranteed types globally.
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 * [:null:] if it gives up. 244 * [:null:] if it gives up.
243 */ 245 */
244 Element computeLub(Element a, Element b) { 246 Element computeLub(Element a, Element b) {
245 // Fast common case, but also simple initial implementation. 247 // Fast common case, but also simple initial implementation.
246 if (identical(a, b)) return a; 248 if (identical(a, b)) return a;
247 249
248 // TODO(ahe): Improve the following "computation"... 250 // TODO(ahe): Improve the following "computation"...
249 return null; 251 return null;
250 } 252 }
251 } 253 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/tree/tree.dart ('k') | sdk/lib/collection/collection.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698