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

Side by Side Diff: pkg/compiler/lib/src/universe/selector.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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 dart2js.selector; 5 library dart2js.selector;
6 6
7 import '../common.dart';
7 import '../common/names.dart' show 8 import '../common/names.dart' show
8 Names; 9 Names;
9 import '../diagnostics/spannable.dart' show
10 SpannableAssertionFailure;
11 import '../elements/elements.dart' show 10 import '../elements/elements.dart' show
12 Element, 11 Element,
13 Elements, 12 Elements,
14 FunctionElement, 13 FunctionElement,
15 FunctionSignature, 14 FunctionSignature,
16 Name, 15 Name,
17 LibraryElement, 16 LibraryElement,
18 PublicName; 17 PublicName;
19 import '../util/util.dart' show 18 import '../util/util.dart' show
20 Hashing; 19 Hashing;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // Add bits from the call structure. 273 // Add bits from the call structure.
275 return Hashing.mixHashCodeBits(hash, callStructure.hashCode); 274 return Hashing.mixHashCodeBits(hash, callStructure.hashCode);
276 } 275 }
277 276
278 String toString() { 277 String toString() {
279 return 'Selector($kind, $name, ${callStructure.structureToString()})'; 278 return 'Selector($kind, $name, ${callStructure.structureToString()})';
280 } 279 }
281 280
282 Selector toCallSelector() => new Selector.callClosureFrom(this); 281 Selector toCallSelector() => new Selector.callClosureFrom(this);
283 } 282 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/call_structure.dart ('k') | pkg/compiler/lib/src/universe/side_effects.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698