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

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

Issue 2968743002: Use .callMethod instead of LocalFunctionElement as key in inference (Closed)
Patch Set: Created 3 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: 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 b7cc4ad6e7461aac2c371bd0591e6b26c56235f0..aee7db62c422361fb3c69b7f05c33b9a5d52f1fc 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -278,7 +278,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
}
String inferredReturnType = '${_resultOfMember(method).returnType}';
- String sideEffects = '${closedWorld.getSideEffectsOfElement(element)}';
+ String sideEffects = '${closedWorld.getSideEffectsOfElement(method)}';
int inlinedCount = compiler.dumpInfoTask.inlineCount[element];
if (inlinedCount == null) inlinedCount = 0;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/builder.dart » ('j') | pkg/compiler/lib/src/inferrer/builder.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698