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

Unified Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 1149423009: cps_ir: Clean up BuilderTask. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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: pkg/compiler/lib/src/use_unused_api.dart
diff --git a/pkg/compiler/lib/src/use_unused_api.dart b/pkg/compiler/lib/src/use_unused_api.dart
index 5076816cdc6f6b3c6962be4e3c5da236232ca1ae..998b39bfac46f4f39d6a0baddfd58f63d27d031f 100644
--- a/pkg/compiler/lib/src/use_unused_api.dart
+++ b/pkg/compiler/lib/src/use_unused_api.dart
@@ -69,7 +69,7 @@ void main(List<String> arguments) {
useIo(null, null);
usedByTests();
useElements();
- useIr(null, null);
+ useIr(null);
useCompiler(null);
useTypes();
useCodeEmitterTask(null);
@@ -260,11 +260,7 @@ useElements(
l.forEachImport(null);
}
-useIr(ir_builder.IrBuilderTask task,
- ir_builder.IrBuilder builder) {
- task
- ..hasIr(null)
- ..getIr(null);
+useIr(ir_builder.IrBuilder builder) {
builder
..buildStringConstant(null)
..buildDynamicGet(null, null);

Powered by Google App Engine
This is Rietveld 408576698