Chromium Code Reviews| Index: pkg/compiler/lib/src/js_emitter/model.dart |
| diff --git a/pkg/compiler/lib/src/js_emitter/model.dart b/pkg/compiler/lib/src/js_emitter/model.dart |
| index 8532b38c46a9996a5d8157c50e43bb33d8158ca1..16e74d69426afc5bd196654e28a921da6d096b40 100644 |
| --- a/pkg/compiler/lib/src/js_emitter/model.dart |
| +++ b/pkg/compiler/lib/src/js_emitter/model.dart |
| @@ -359,7 +359,7 @@ class DartMethod extends Method { |
| class InstanceMethod extends DartMethod { |
| // TODO(herhut): Directly store aliases instead. |
| - final bool hasSuperAlias; |
| + final String superAlias; |
|
floitsch
2015/01/30 18:31:05
Explain what this is, and what the emitter has to
|
| final bool isClosure; |
| InstanceMethod(Element element, String name, js.Expression code, |
| @@ -367,7 +367,7 @@ class InstanceMethod extends DartMethod { |
| String callName, |
| {bool needsTearOff, |
| String tearOffName, |
| - this.hasSuperAlias, |
| + this.superAlias, |
| bool canBeApplied, |
| bool canBeReflected, |
| this.isClosure, |
| @@ -378,7 +378,6 @@ class InstanceMethod extends DartMethod { |
| canBeApplied: canBeApplied, |
| canBeReflected: canBeReflected, |
| needsStubs: needsStubs) { |
| - assert(hasSuperAlias != null); |
| assert(isClosure != null); |
| } |
| } |