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

Unified Diff: pkg/compiler/lib/src/resolution/access_semantics.dart

Issue 1108783003: Refactor SsaBuilder.visitSuperSend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 5 years, 8 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/resolution/access_semantics.dart
diff --git a/pkg/compiler/lib/src/resolution/access_semantics.dart b/pkg/compiler/lib/src/resolution/access_semantics.dart
index 096ddd17faa36da03564fc417864655ba613ca69..ecd16c0f8d938033c3db285adce90d73c0051609 100644
--- a/pkg/compiler/lib/src/resolution/access_semantics.dart
+++ b/pkg/compiler/lib/src/resolution/access_semantics.dart
@@ -116,6 +116,9 @@ enum AccessKind {
/// The destination of the access is unresolved in a static context.
UNRESOLVED,
+
+ /// The destination of the access is unresolved super access.
+ UNRESOLVED_SUPER,
}
enum CompoundAccessKind {
@@ -294,6 +297,9 @@ class StaticAccess extends AccessSemantics {
StaticAccess.unresolved(this.element)
: super._(AccessKind.UNRESOLVED);
+
+ StaticAccess.unresolvedSuper(this.element)
+ : super._(AccessKind.UNRESOLVED_SUPER);
}
class CompoundAccessSemantics extends AccessSemantics {
« no previous file with comments | « pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart ('k') | pkg/compiler/lib/src/resolution/semantic_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698