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

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

Issue 2893293002: Share more logic between the Ssa(Ast)Builder and SsaKernelBuilder (Closed)
Patch Set: Rebased Created 3 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/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index 769803983e130b2e0d644b77548771bd281aa277..6cf48bd84e42b6263dbbea334e90c2fd02550217 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -415,7 +415,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
// inlined inside of it.
final Map<Element, List<Element>> inlineMap = <Element, List<Element>>{};
- final Map<Element, WorldImpact> impacts = <Element, WorldImpact>{};
+ final Map<MemberEntity, WorldImpact> impacts = <MemberEntity, WorldImpact>{};
/// Register the size of the generated output.
void reportSize(int programSize) {
@@ -432,7 +432,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
inlineMap[inlinedFrom].add(element);
}
- void registerImpact(Element element, WorldImpact impact) {
+ void registerImpact(MemberEntity element, WorldImpact impact) {
if (compiler.options.dumpInfo) {
impacts[element] = impact;
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698