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

Unified Diff: pkg/compiler/lib/src/common/codegen.dart

Issue 1422323007: dart2js: use WorldImpact for dump_info (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | pkg/compiler/lib/src/dump_info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/codegen.dart
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart
index 3029a124ae456a0d4858df26139a187d99b5697e..37c9855a3f4c3aed788848be2f579e5cdffba8e1 100644
--- a/pkg/compiler/lib/src/common/codegen.dart
+++ b/pkg/compiler/lib/src/common/codegen.dart
@@ -187,7 +187,6 @@ class CodegenRegistry extends Registry {
void registerDynamicUse(DynamicUse dynamicUse) {
worldImpact.registerDynamicUse(dynamicUse);
- compiler.dumpInfoTask.elementUsesSelector(currentElement, dynamicUse);
}
void registerTypeUse(TypeUse typeUse) {
@@ -263,6 +262,8 @@ class CodegenWorkItem extends WorkItem {
if (world.isProcessed(element)) return const WorldImpact();
registry = new CodegenRegistry(compiler, element);
- return compiler.codegen(this, world);
+ var impact = compiler.codegen(this, world);
+ compiler.dumpInfoTask.registerImpact(element, impact);
+ return impact;
}
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dump_info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698