Chromium Code Reviews| Index: pkg/compiler/lib/src/resolution/registry.dart |
| diff --git a/pkg/compiler/lib/src/resolution/registry.dart b/pkg/compiler/lib/src/resolution/registry.dart |
| index 7f5e9279e900f158f8332c7e90449fc792aa36f1..0892c8b71a24e6a23fef0a9f94820a6668985f74 100644 |
| --- a/pkg/compiler/lib/src/resolution/registry.dart |
| +++ b/pkg/compiler/lib/src/resolution/registry.dart |
| @@ -25,7 +25,7 @@ import 'members.dart' show ResolverVisitor; |
| import 'send_structure.dart'; |
| import 'tree_elements.dart' show TreeElementMapping; |
| -class _ResolutionWorldImpact extends ResolutionImpact |
| +class ResolutionWorldImpactBuilder extends ResolutionImpact |
| with WorldImpactBuilder |
| implements NativeRegistry { |
| final String name; |
| @@ -36,7 +36,7 @@ class _ResolutionWorldImpact extends ResolutionImpact |
| Setlet<ConstantExpression> _constantLiterals; |
| Setlet<dynamic> _nativeData; |
| - _ResolutionWorldImpact(this.name); |
| + ResolutionWorldImpactBuilder(this.name); |
| void registerMapLiteral(MapLiteralUse mapLiteralUse) { |
| assert(mapLiteralUse != null); |
| @@ -158,12 +158,12 @@ class _ResolutionWorldImpact extends ResolutionImpact |
| class ResolutionRegistry extends Registry { |
| final Target target; |
| final TreeElementMapping mapping; |
| - final _ResolutionWorldImpact worldImpact; |
| + final ResolutionWorldImpactBuilder worldImpact; |
|
Harry Terkelsen
2016/09/08 16:46:28
also change variable name to worldImpactBuilder or
|
| ResolutionRegistry(this.target, TreeElementMapping mapping) |
| : this.mapping = mapping, |
| - this.worldImpact = |
| - new _ResolutionWorldImpact(mapping.analyzedElement.toString()); |
| + this.worldImpact = new ResolutionWorldImpactBuilder( |
| + mapping.analyzedElement.toString()); |
| bool get isForResolution => true; |