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 4264a0e77c32c800eacf136bb87282722ddb1bb3..053cf6fab835040fc0c0a0147501390354199f82 100644 |
--- a/pkg/compiler/lib/src/kernel/element_map.dart |
+++ b/pkg/compiler/lib/src/kernel/element_map.dart |
@@ -44,10 +44,6 @@ abstract class KernelToElementMap { |
/// Returns the [InterfaceType] corresponding to [type]. |
InterfaceType getInterfaceType(ir.InterfaceType type); |
- /// Returns the 'this type' of [cls]. That is, the instantiation of [cls] |
- /// where the type arguments are the type variables of [cls]. |
- InterfaceType getThisType(ClassEntity cls); |
- |
/// Return the [InterfaceType] corresponding to the [cls] with the given |
/// [typeArguments]. |
InterfaceType createInterfaceType( |
@@ -86,6 +82,9 @@ abstract class KernelToElementMap { |
/// Returns the [MemberEntity] corresponding to the member [node]. |
MemberEntity getMember(ir.Member node); |
+ /// Returns the kernel IR node that defines the [member]. |
+ ir.Member getMemberNode(MemberEntity member); |
+ |
/// Returns the [FunctionEntity] corresponding to the procedure [node]. |
FunctionEntity getMethod(ir.Procedure node); |