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

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

Issue 10559031: Don't try to resolve in the builder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | tests/language/resolution_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index e600b99e0eb41258a52d40638a0e84df2d49758e..116f68a93634bb2dc81bac7b53f95270d9379409 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -2355,7 +2355,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
Selector selector = elements.getSelector(node);
Element element = elements[node];
- compiler.resolver.resolveMethodElement(element);
+ assert(compiler.enqueuer.resolution.getCachedElements(element) !== null);
ahe 2012/06/18 09:50:07 I would prefer if this was an internal error: if
floitsch 2012/06/18 10:30:22 Done.
FunctionElement functionElement = element;
element = functionElement.defaultImplementation;
HInstruction target = new HStatic(element);
« no previous file with comments | « no previous file | tests/language/resolution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698