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

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

Issue 2838443002: Revert "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 | « no previous file | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 9995366b7ea4a28f17f6ca92d55a1769132875f3..efa17b031c22f3d80d04814b6a8849571e9e048f 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -1231,8 +1231,7 @@ class SsaBuilder extends ast.Visitor
List<DartType> instantiatedTypes;
addInlinedInstantiation(type);
if (!currentInlinedInstantiations.isEmpty) {
- instantiatedTypes =
- new List<ResolutionInterfaceType>.from(currentInlinedInstantiations);
+ instantiatedTypes = new List<DartType>.from(currentInlinedInstantiations);
}
HInstruction newObject;
@@ -4111,8 +4110,8 @@ class SsaBuilder extends ast.Visitor
targetCanThrow: targetCanThrow)
..sourceInformation = sourceInformation;
if (currentInlinedInstantiations.isNotEmpty) {
- instruction.instantiatedTypes = new List<ResolutionInterfaceType>.from(
- currentInlinedInstantiations);
+ instruction.instantiatedTypes =
+ new List<ResolutionDartType>.from(currentInlinedInstantiations);
}
instruction.sideEffects = closedWorld.getSideEffectsOfElement(element);
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698