Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: pkg/compiler/lib/src/kernel/element_map.dart

Issue 2937203002: Add J-elements (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698