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

Unified Diff: dart/compiler/java/com/google/dart/compiler/resolver/ClassElement.java

Issue 9390011: Don't cache subtypes in elements. It causes a memory leak in the Editor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | dart/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/compiler/java/com/google/dart/compiler/resolver/ClassElement.java
diff --git a/dart/compiler/java/com/google/dart/compiler/resolver/ClassElement.java b/dart/compiler/java/com/google/dart/compiler/resolver/ClassElement.java
index 4090d09292c275ccf2216c5979c7596819cec068..657a90d8f0144e2a2ffb161ac51b2780927580ec 100644
--- a/dart/compiler/java/com/google/dart/compiler/resolver/ClassElement.java
+++ b/dart/compiler/java/com/google/dart/compiler/resolver/ClassElement.java
@@ -30,13 +30,6 @@ public interface ClassElement extends EnclosingElement {
List<InterfaceType> getInterfaces();
- /**
- * Returns the static subtypes of a declared type including itself. This method should only be
- * called once all elements have been built. The results are cached so subtypes added after
- * building will not be reflected.
- */
- Set<InterfaceType> getSubtypes();
-
List<InterfaceType> getAllSupertypes()
throws CyclicDeclarationException, DuplicatedInterfaceException;
« no previous file with comments | « no previous file | dart/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698