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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart

Issue 349923004: Add support for superSend to the new IR and dart backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
Index: sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart
index 4906aaaaaf0a1b4780e0234bb492cd6977a940dc..55dd5856d4322ba5c2be12c83e1902c7e976636e 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart
@@ -337,6 +337,10 @@ class ASTEmitter extends tree.Visitor<dynamic, Expression> {
return new This();
}
+ Expression visitSuper(tree.Super exp) {
+ return new Super();
+ }
+
Expression visitLiteralList(tree.LiteralList exp) {
return new LiteralList(
exp.values.map(visitExpression).toList(growable: false),

Powered by Google App Engine
This is Rietveld 408576698