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

Unified Diff: tests/compiler/dart2js/compiler_helper.dart

Issue 10560032: Reapply "Don't try to resolve in the builder". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test. 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 | « lib/compiler/implementation/ssa/builder.dart ('k') | tests/language/resolution_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index 89fbd8b68700ebe417f79f04f349929903f9afcc..3129d193391c6131572c3001120f6c462838907f 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -17,8 +17,8 @@ String compile(String code, [String entry = 'main']) {
compiler.parseScript(code);
lego.Element element = compiler.mainApp.find(buildSourceString(entry));
if (element === null) return null;
+ compiler.processQueue(compiler.enqueuer.resolution, element);
leg.WorkItem work = new leg.WorkItem(element, null);
- work.run(compiler, compiler.enqueuer.resolution);
String generated = work.run(compiler, compiler.enqueuer.codegen);
return generated;
}
« no previous file with comments | « lib/compiler/implementation/ssa/builder.dart ('k') | tests/language/resolution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698