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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/universe/universe.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/universe/universe.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart b/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart
index 73bbb9f579f424c1906d6619ae487cc0120c2af4..8e9d50615742e89fb4871c53f5868c93c9e61418 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -92,14 +92,6 @@ class Universe {
return hasMatchingSelector(invokedSetters[member.name], member, compiler);
}
- bool hasFieldGetter(Element member, Compiler compiler) {
- return fieldGetters.contains(member);
- }
-
- bool hasFieldSetter(Element member, Compiler compiler) {
- return fieldSetters.contains(member);
- }
-
DartType registerIsCheck(DartType type, Compiler compiler) {
type = type.unalias(compiler);
// Even in checked mode, type annotations for return type and argument
@@ -278,7 +270,6 @@ class Selector {
bool isOperator() => identical(kind, SelectorKind.OPERATOR);
bool isUnaryOperator() => isOperator() && argumentCount == 0;
- bool isBinaryOperator() => isOperator() && argumentCount == 1;
/** Check whether this is a call to 'assert'. */
bool isAssert() => isCall() && identical(name, "assert");

Powered by Google App Engine
This is Rietveld 408576698