| Index: pkg/compiler/lib/src/kernel/element_map.dart
|
| diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
|
| index 1ae5ab6fd93e9234cb69bbb1513f3f843339f4e7..35ecc3930eb8243bd8482d97fb4b18e86eb408b7 100644
|
| --- a/pkg/compiler/lib/src/kernel/element_map.dart
|
| +++ b/pkg/compiler/lib/src/kernel/element_map.dart
|
| @@ -215,7 +215,7 @@ enum MemberKind {
|
| // A constructor whose body is defined by an [ir.Constructor] node.
|
| constructorBody,
|
| // A closure class `call` method whose body is defined by an
|
| - // [ir.FunctionExpression].
|
| + // [ir.FunctionExpression] or [ir.FunctionDeclaration].
|
| closureCall,
|
| // A field corresponding to a captured variable in the closure. It does not
|
| // have a corresponding ir.Node.
|
| @@ -391,6 +391,12 @@ abstract class KernelToLocalsMap {
|
| // parameter.
|
| Local getLocalVariable(ir.VariableDeclaration node);
|
|
|
| + /// Returns the [ir.FunctionNode] that declared [parameter].
|
| + ir.FunctionNode getFunctionNodeForParameter(Local parameter);
|
| +
|
| + /// Returns the [ir.DartType] of [parameter].
|
| + ir.DartType getParameterType(Local parameter);
|
| +
|
| /// Returns the [JumpTarget] for the break statement [node].
|
| JumpTarget getJumpTargetForBreak(ir.BreakStatement node);
|
|
|
|
|