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

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

Issue 10911181: Collect getters in a FunctionSet while resolving. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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: lib/compiler/implementation/enqueue.dart
===================================================================
--- lib/compiler/implementation/enqueue.dart (revision 12117)
+++ lib/compiler/implementation/enqueue.dart (working copy)
@@ -101,6 +101,9 @@
if (elements === null) {
elements = getCachedElements(element);
}
+ if (isResolutionQueue && element.isMember() && element.isGetter()) {
+ compiler.world.getters.add(element);
kasperl 2012/09/11 07:39:11 I think this deserves its own method in world -- t
ngeoffray 2012/09/11 08:51:08 Done.
+ }
queue.add(new WorkItem(element, elements, itemCompilationContextCreator()));

Powered by Google App Engine
This is Rietveld 408576698