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

Unified Diff: dart/lib/compiler/implementation/ssa/nodes.dart

Issue 10854163: Implement super.foo = expression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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: dart/lib/compiler/implementation/ssa/nodes.dart
diff --git a/dart/lib/compiler/implementation/ssa/nodes.dart b/dart/lib/compiler/implementation/ssa/nodes.dart
index 1115943149f711d8db323f43b41a88c60dda0680..27805124c1388cdce4cc1e9425141035905def8f 100644
--- a/dart/lib/compiler/implementation/ssa/nodes.dart
+++ b/dart/lib/compiler/implementation/ssa/nodes.dart
@@ -1249,7 +1249,8 @@ class HInvokeStatic extends HInvoke {
}
class HInvokeSuper extends HInvokeStatic {
- HInvokeSuper(inputs) : super(inputs);
+ final bool isSetter;
+ HInvokeSuper(inputs, [this.isSetter = false]) : super(inputs);
toString() => 'invoke super: ${element.name}';
accept(HVisitor visitor) => visitor.visitInvokeSuper(this);
}

Powered by Google App Engine
This is Rietveld 408576698