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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.dart

Issue 16001006: Enqueue fields for resolution in the enqueuer, instead of doing it in the resolver. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 23257)
+++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy)
@@ -44,6 +44,7 @@
kind == ElementKind.SETTER) {
graph = builder.buildMethod(element);
} else if (kind == ElementKind.FIELD) {
+ assert(!element.isInstanceMember());
graph = builder.buildLazyInitializer(element);
} else {
compiler.internalErrorOnElement(element,
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | tests/lib/mirrors/mirrors_resolve_fields_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698