Index: pkg/compiler/lib/src/common/codegen.dart |
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart |
index 6f22d66136c224fa67a15470776e3bde3c5c458b..5ac8a74faaea083c75d5eeb44276ddad70087067 100644 |
--- a/pkg/compiler/lib/src/common/codegen.dart |
+++ b/pkg/compiler/lib/src/common/codegen.dart |
@@ -5,7 +5,7 @@ |
library dart2js.common.codegen; |
import '../elements/elements.dart' |
- show AsyncMarker, ClassElement, LocalFunctionElement, MemberElement; |
+ show AsyncMarker, ClassElement, LocalFunctionElement; |
import '../elements/entities.dart'; |
import '../elements/types.dart' show DartType, InterfaceType; |
import '../universe/use.dart' show ConstantUse, DynamicUse, StaticUse, TypeUse; |
@@ -110,12 +110,11 @@ class _CodegenImpact extends WorldImpactBuilderImpl implements CodegenImpact { |
// TODO(johnniwinther): Split this class into interface and implementation. |
// TODO(johnniwinther): Move this implementation to the JS backend. |
class CodegenRegistry { |
- final MemberElement currentElement; |
+ final MemberEntity currentElement; |
final _CodegenImpact worldImpact; |
- CodegenRegistry(MemberElement currentElement) |
- : this.currentElement = currentElement, |
- this.worldImpact = new _CodegenImpact(); |
+ CodegenRegistry(this.currentElement) |
+ : this.worldImpact = new _CodegenImpact(); |
bool get isForResolution => false; |