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

Side by Side Diff: pkg/compiler/lib/src/universe/universe.dart

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « pkg/compiler/lib/src/universe/side_effects.dart ('k') | pkg/compiler/lib/src/world.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 universe; 5 library universe;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import '../common/resolution.dart' show 9 import '../common.dart';
10 Resolution;
11 import '../compiler.dart' show 10 import '../compiler.dart' show
12 Compiler; 11 Compiler;
13 import '../diagnostics/invariant.dart' show
14 invariant;
15 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
16 import '../dart_types.dart'; 13 import '../dart_types.dart';
17 import '../util/util.dart'; 14 import '../util/util.dart';
18 import '../world.dart' show 15 import '../world.dart' show
19 ClassWorld, 16 ClassWorld,
20 World; 17 World;
21 18
22 import 'selector.dart' show 19 import 'selector.dart' show
23 Selector; 20 Selector;
24 21
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 // TODO(ahe): Replace this method with something that is O(1), for example, 417 // TODO(ahe): Replace this method with something that is O(1), for example,
421 // by using a map. 418 // by using a map.
422 List<LocalFunctionElement> slowDirectlyNestedClosures(Element element) { 419 List<LocalFunctionElement> slowDirectlyNestedClosures(Element element) {
423 // Return new list to guard against concurrent modifications. 420 // Return new list to guard against concurrent modifications.
424 return new List<LocalFunctionElement>.from( 421 return new List<LocalFunctionElement>.from(
425 allClosures.where((LocalFunctionElement closure) { 422 allClosures.where((LocalFunctionElement closure) {
426 return closure.executableContext == element; 423 return closure.executableContext == element;
427 })); 424 }));
428 } 425 }
429 } 426 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/side_effects.dart ('k') | pkg/compiler/lib/src/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698