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

Unified Diff: dart/frog/tests/leg/compiler_helper.dart

Issue 10542073: RFC: Resolution based tree-shaking. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Minor tweaks for the unit tests 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
Index: dart/frog/tests/leg/compiler_helper.dart
diff --git a/dart/frog/tests/leg/compiler_helper.dart b/dart/frog/tests/leg/compiler_helper.dart
index d4bf3a3ae1e63b6f62957e0f4268147ac148b29e..89fbd8b68700ebe417f79f04f349929903f9afcc 100644
--- a/dart/frog/tests/leg/compiler_helper.dart
+++ b/dart/frog/tests/leg/compiler_helper.dart
@@ -18,6 +18,7 @@ String compile(String code, [String entry = 'main']) {
lego.Element element = compiler.mainApp.find(buildSourceString(entry));
if (element === null) return null;
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 | « no previous file | dart/lib/compiler/implementation/compiler.dart » ('j') | dart/lib/compiler/implementation/compiler.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698