Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: pkg/compiler/lib/src/js_emitter/model.dart

Issue 891743002: Add support for super aliases to new emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698