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

Unified Diff: dart/lib/compiler/implementation/enqueue.dart

Issue 10661029: Ensure interfaces are loaded. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 4 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: dart/lib/compiler/implementation/enqueue.dart
diff --git a/dart/lib/compiler/implementation/enqueue.dart b/dart/lib/compiler/implementation/enqueue.dart
index 36c050a676b5b23cc6dcc82ec96dcbb40d24673d..2e999af4190b19bff86ca7e163524d4202a7b0fa 100644
--- a/dart/lib/compiler/implementation/enqueue.dart
+++ b/dart/lib/compiler/implementation/enqueue.dart
@@ -208,9 +208,9 @@ class Enqueuer {
while (cls !== null) {
if (seenClasses.contains(cls)) return;
seenClasses.add(cls);
- // TODO(ahe): Don't call resolveType, instead, call this method
- // when resolveType is called.
- compiler.resolveClass(cls);
+ // TODO(ahe): Don't call ensureResolved, instead, call this method
+ // from the resolver.
+ cls.ensureResolved(compiler);
cls.members.forEach(processInstantiatedClassMember);
cls = cls.superclass;
}
« no previous file with comments | « dart/lib/compiler/implementation/elements/elements.dart ('k') | dart/lib/compiler/implementation/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698