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

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

Issue 1278503004: Revert "Move dart2jslib parts into separate libraries." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/types/types.dart ('k') | pkg/compiler/lib/src/use_unused_api.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 '../elements/elements.dart'; 9 import '../elements/elements.dart';
10 import '../dart2jslib.dart'; 10 import '../dart2jslib.dart';
11 import '../dart_types.dart'; 11 import '../dart_types.dart';
12 import '../types/types.dart'; 12 import '../types/types.dart';
13 import '../tree/tree.dart'; 13 import '../tree/tree.dart';
14 import '../util/util.dart'; 14 import '../util/util.dart';
15 import '../world.dart' show
16 ClassWorld,
17 World;
18 15
19 part 'function_set.dart'; 16 part 'function_set.dart';
20 part 'side_effects.dart'; 17 part 'side_effects.dart';
21 18
22 class UniverseSelector { 19 class UniverseSelector {
23 final Selector selector; 20 final Selector selector;
24 final TypeMask mask; 21 final TypeMask mask;
25 22
26 UniverseSelector(this.selector, this.mask); 23 UniverseSelector(this.selector, this.mask);
27 24
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 // Add bits from the call structure. 901 // Add bits from the call structure.
905 return Hashing.mixHashCodeBits(hash, callStructure.hashCode); 902 return Hashing.mixHashCodeBits(hash, callStructure.hashCode);
906 } 903 }
907 904
908 String toString() { 905 String toString() {
909 return 'Selector($kind, $name, ${callStructure.structureToString()})'; 906 return 'Selector($kind, $name, ${callStructure.structureToString()})';
910 } 907 }
911 908
912 Selector toCallSelector() => new Selector.callClosureFrom(this); 909 Selector toCallSelector() => new Selector.callClosureFrom(this);
913 } 910 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/types/types.dart ('k') | pkg/compiler/lib/src/use_unused_api.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698