| 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 8731e5defdff44e2a55eb9366e6f8eccb4190bc5..9ec009aaa21c0f10d35efc950a252f976758e18a 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -1637,10 +1637,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) {
|
| @@ -1654,7 +1653,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);
|
|
|