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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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: dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 41c528a41bd9633353754e49317543427b05c5f3..f06f740fc35c969fc6713a8803f4feb2f85bc097 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -584,13 +584,6 @@ class Elements {
return false;
}
- static bool switchStatementHasDefault(SwitchStatement node) {
- for (SwitchCase switchCase in node.cases) {
- if (switchCase.isDefaultCase) return true;
- }
- return false;
- }
-
static bool isUnusedLabel(LabeledStatement node, TreeElements elements) {
Node body = node.statement;
TargetElement element = elements[body];
@@ -915,16 +908,11 @@ abstract class ClassElement extends TypeDeclarationElement
Element lookupSuperMemberInLibrary(String memberName,
LibraryElement library);
- Element lookupSuperInterfaceMember(String memberName,
- LibraryElement fromLibrary);
-
Element validateConstructorLookupResults(Selector selector,
Element result,
Element noMatch(Element));
Element lookupConstructor(Selector selector, [Element noMatch(Element)]);
- Element lookupFactoryConstructor(Selector selector,
- [Element noMatch(Element)]);
void forEachMember(void f(ClassElement enclosingClass, Element member),
{bool includeBackendMembers: false,

Powered by Google App Engine
This is Rietveld 408576698