| OLD | NEW |
| 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 '../compiler.dart' show |
| 10 Compiler; |
| 11 import '../diagnostics/invariant.dart' show |
| 12 invariant; |
| 13 import '../diagnostics/spannable.dart' show |
| 14 SpannableAssertionFailure; |
| 9 import '../elements/elements.dart'; | 15 import '../elements/elements.dart'; |
| 10 import '../dart2jslib.dart'; | |
| 11 import '../dart_types.dart'; | 16 import '../dart_types.dart'; |
| 12 import '../types/types.dart'; | 17 import '../types/types.dart'; |
| 13 import '../tree/tree.dart'; | 18 import '../tree/tree.dart'; |
| 14 import '../util/util.dart'; | 19 import '../util/util.dart'; |
| 15 import '../world.dart' show | 20 import '../world.dart' show |
| 16 ClassWorld, | 21 ClassWorld, |
| 17 World; | 22 World; |
| 18 | 23 |
| 19 part 'function_set.dart'; | 24 part 'function_set.dart'; |
| 20 part 'side_effects.dart'; | 25 part 'side_effects.dart'; |
| (...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 // Add bits from the call structure. | 909 // Add bits from the call structure. |
| 905 return Hashing.mixHashCodeBits(hash, callStructure.hashCode); | 910 return Hashing.mixHashCodeBits(hash, callStructure.hashCode); |
| 906 } | 911 } |
| 907 | 912 |
| 908 String toString() { | 913 String toString() { |
| 909 return 'Selector($kind, $name, ${callStructure.structureToString()})'; | 914 return 'Selector($kind, $name, ${callStructure.structureToString()})'; |
| 910 } | 915 } |
| 911 | 916 |
| 912 Selector toCallSelector() => new Selector.callClosureFrom(this); | 917 Selector toCallSelector() => new Selector.callClosureFrom(this); |
| 913 } | 918 } |
| OLD | NEW |