Index: pkg/compiler/lib/src/ssa/builder_kernel.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
index 553f028e76e11b41917f79bb377d5c975e5a7de5..286fb46d1a11512774414bfa124373ab83bb5114 100644 |
--- a/pkg/compiler/lib/src/ssa/builder_kernel.dart |
+++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
@@ -19,6 +19,7 @@ import '../constants/values.dart' |
import '../elements/elements.dart'; |
import '../elements/entities.dart'; |
import '../elements/resolution_types.dart'; |
+import '../elements/types.dart'; |
import '../io/source_information.dart'; |
import '../js/js.dart' as js; |
import '../js_backend/backend.dart' show JavaScriptBackend; |
@@ -274,7 +275,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder { |
constructorArguments, |
new TypeMask.nonNullExact( |
astAdapter.getClass(constructor.enclosingClass), closedWorld), |
- instantiatedTypes: <ResolutionDartType>[ |
+ instantiatedTypes: <DartType>[ |
astAdapter.getClass(constructor.enclosingClass).thisType |
], |
hasRtiInput: false); |
@@ -2504,7 +2505,8 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder { |
push(new HForeignCode(nativeBehavior.codeTemplate, ssaType, inputs, |
isStatement: !nativeBehavior.codeTemplate.isExpression, |
effects: nativeBehavior.sideEffects, |
- nativeBehavior: nativeBehavior)..sourceInformation = sourceInformation); |
+ nativeBehavior: nativeBehavior) |
+ ..sourceInformation = sourceInformation); |
} |
void handleJsStringConcat(ir.StaticInvocation invocation) { |
@@ -2608,9 +2610,8 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder { |
_pushDynamicInvocation( |
invocation, |
astAdapter.typeOfInvocation(invocation, closedWorld), |
- <HInstruction>[receiver] |
- ..addAll( |
- _visitArgumentsForDynamicTarget(selector, invocation.arguments))); |
+ <HInstruction>[receiver]..addAll( |
+ _visitArgumentsForDynamicTarget(selector, invocation.arguments))); |
} |
bool _handleEqualsNull(ir.MethodInvocation invocation) { |