Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart b/sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart |
| index e3650af17fefb429fe0197ae1f815d1b09e207b2..9b819fc826674ccf7d71027295174e75412bd111 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart |
| @@ -315,6 +315,14 @@ class This extends Primitive { |
| accept(Visitor visitor) => visitor.visitThis(this); |
| } |
| +class Super extends Primitive { |
|
asgerf
2014/06/23 10:55:17
Again, I think it's better to have InvokeSuperMeth
sigurdm
2014/06/24 09:23:08
Done.
|
| + Super(); |
| + |
| + dart2js.Constant get constant => null; |
| + |
| + accept(Visitor visitor) => visitor.visitSuper(this); |
| +} |
| + |
| class LiteralList extends Primitive { |
| /// The List type being created; this is not the type argument. |
| final GenericType type; |
| @@ -415,6 +423,7 @@ abstract class Visitor<T> { |
| T visitLiteralMap(LiteralMap node) => visitPrimitive(node); |
| T visitConstant(Constant node) => visitPrimitive(node); |
| T visitThis(This node) => visitPrimitive(node); |
| + T visitSuper(Super node) => visitPrimitive(node); |
| T visitInvokeConstConstructor(InvokeConstConstructor node) => visitPrimitive(node); |
| T visitParameter(Parameter node) => visitPrimitive(node); |
| T visitContinuation(Continuation node) => visitDefinition(node); |