| Index: pkg/compiler/lib/src/ssa/type_builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/type_builder.dart b/pkg/compiler/lib/src/ssa/type_builder.dart
|
| index 7b65daa0d851414334e1ee959d9ae0806d900399..f511ccea349c6a25c932717771db2221193a633a 100644
|
| --- a/pkg/compiler/lib/src/ssa/type_builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/type_builder.dart
|
| @@ -10,6 +10,7 @@ import '../types/types.dart';
|
| import '../elements/elements.dart';
|
| import '../elements/entities.dart';
|
| import '../elements/resolution_types.dart';
|
| +import '../elements/types.dart';
|
| import '../io/source_information.dart';
|
| import '../universe/use.dart' show TypeUse;
|
|
|
| @@ -54,8 +55,7 @@ class TypeBuilder {
|
| /// Depending on the context and the mode, wrap the given type in an
|
| /// instruction that checks the type is what we expect or automatically
|
| /// trusts the written type.
|
| - HInstruction potentiallyCheckOrTrustType(
|
| - HInstruction original, ResolutionDartType type,
|
| + HInstruction potentiallyCheckOrTrustType(HInstruction original, DartType type,
|
| {int kind: HTypeConversion.CHECKED_MODE_CHECK}) {
|
| if (type == null) return original;
|
| HInstruction checkedOrTrusted = original;
|
|
|