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

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

Issue 2829373002: dart2js: use ResolutionInterfaceType in SSA builders (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index 1af507b12dca898ff8eb1562b81f9fd4fad29156..6431bbba1bd45d396e7e0084bfcf45e08950e5d9 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -1889,13 +1889,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
visitInvokeStatic(HInvokeStatic node) {
MemberEntity element = node.element;
- List<DartType> instantiatedTypes = node.instantiatedTypes;
-
- if (instantiatedTypes != null && !instantiatedTypes.isEmpty) {
- instantiatedTypes.forEach((type) {
- _registry.registerInstantiation(type);
- });
- }
+ node.instantiatedTypes?.forEach(_registry.registerInstantiation);
List<js.Expression> arguments = visitArguments(node.inputs, start: 0);
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698