Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart |
index 95fa11a6e1383084ac096aae5fca8dc4ed6d0710..3bc70321fb707feb5c236a1101884785f5a19782 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart |
@@ -855,14 +855,16 @@ class IrBuilder { |
/// 1. Call [buildFunctionHeader]. |
/// 2. Call `buildXXX` methods to build the body. |
/// 3. Call [makeFunctionDefinition] to finish. |
- ir.FunctionDefinition makeFunctionDefinition() { |
+ ir.FunctionDefinition makeFunctionDefinition( |
+ SourceInformation sourceInformation) { |
_ensureReturn(); |
return new ir.FunctionDefinition( |
state.currentElement, |
state.thisParameter, |
state.functionParameters, |
state.returnContinuation, |
- root); |
+ root, |
+ sourceInformation: sourceInformation); |
} |
/// Create a invocation of the [method] on the super class where the call |