| Index: pkg/compiler/lib/src/ssa/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
|
| index 2eaad68c6cbf6998afc6dbbe0425909ba64ff31f..6c023a50b65a5e6f64be5e690e31ef3e76f4e020 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -1638,10 +1638,9 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
|
|
| visitInvokeStatic(HInvokeStatic node) {
|
| Element element = node.element;
|
| - ClassElement cls = element.enclosingClass;
|
| List<DartType> instantiatedTypes = node.instantiatedTypes;
|
|
|
| - registry.registerStaticUse(element);
|
| + registry.registerStaticInvocation(element);
|
|
|
| if (instantiatedTypes != null && !instantiatedTypes.isEmpty) {
|
| instantiatedTypes.forEach((type) {
|
| @@ -1655,7 +1654,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
|
|
| visitInvokeSuper(HInvokeSuper node) {
|
| Element superMethod = node.element;
|
| - registry.registerStaticUse(superMethod);
|
| + registry.registerSuperInvocation(superMethod);
|
| ClassElement superClass = superMethod.enclosingClass;
|
| if (superMethod.kind == ElementKind.FIELD) {
|
| String fieldName = backend.namer.instanceFieldPropertyName(superMethod);
|
|
|