Index: pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
index 61a5ddd961408f55925d59b7b72f0c03c72b194b..8c44f4d886388f7951e09046d594c753dec1ca36 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
@@ -419,10 +419,16 @@ class FunctionDefinition extends InteriorNode { |
final Parameter thisParameter; |
final List<Parameter> parameters; |
final Continuation returnContinuation; |
+ final SourceInformation sourceInformation; |
Expression body; |
- FunctionDefinition(this.element, this.thisParameter, this.parameters, |
- this.returnContinuation, this.body); |
+ FunctionDefinition( |
+ this.element, |
+ this.thisParameter, |
+ this.parameters, |
+ this.returnContinuation, |
+ this.body, |
+ {this.sourceInformation}); |
accept(BlockVisitor visitor) => visitor.visitFunctionDefinition(this); |
@@ -3022,7 +3028,8 @@ class CopyingVisitor extends TrampolineRecursiveVisitor { |
visit(node.body); |
FunctionDefinition copy = new FunctionDefinition( |
- node.element, thisParameter, parameters, returnContinuation, _first); |
+ node.element, thisParameter, parameters, returnContinuation, _first, |
+ sourceInformation: node.sourceInformation); |
_first = _current = null; |
return copy; |
} |