| Index: lib/compiler/implementation/ssa/codegen.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/ssa/codegen.dart (revision 12238)
|
| +++ lib/compiler/implementation/ssa/codegen.dart (working copy)
|
| @@ -1561,8 +1561,6 @@
|
| visitInvokeSuper(HInvokeSuper node) {
|
| Element superMethod = node.element;
|
| Element superClass = superMethod.getEnclosingClass();
|
| - // Remove the element and 'this'.
|
| - int argumentCount = node.inputs.length - 2;
|
| if (superMethod.kind == ElementKind.FIELD) {
|
| ClassElement currentClass = work.element.getEnclosingClass();
|
| if (currentClass.isClosure()) {
|
| @@ -1590,8 +1588,7 @@
|
| String methodName;
|
| if (superMethod.kind == ElementKind.FUNCTION ||
|
| superMethod.kind == ElementKind.GENERATIVE_CONSTRUCTOR) {
|
| - methodName = backend.namer.instanceMethodName(
|
| - currentLibrary, superMethod.name, argumentCount);
|
| + methodName = backend.namer.instanceMethodName(superMethod);
|
| } else if (superMethod.kind == ElementKind.GETTER) {
|
| methodName =
|
| backend.namer.getterName(currentLibrary, superMethod.name);
|
|
|