| Index: sdk/lib/_internal/compiler/implementation/ssa/bailout.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart b/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart
|
| index 2548c6a4b3c92046a87492e7a0264e3d4437cf48..90f21963db4c1e28019d657d7077112d21859a46 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart
|
| @@ -143,7 +143,7 @@ class SsaTypeGuardInserter extends SsaNonSpeculativeTypePropagator
|
| DartType sourceType = source.computeType(compiler);
|
| if (!sourceType.treatAsDynamic &&
|
| sourceType.kind == TypeKind.INTERFACE) {
|
| - TypeMask sourceMask = new TypeMask.subtype(sourceType);
|
| + TypeMask sourceMask = new TypeMask.subtype(sourceType.element);
|
| TypeMask speculatedMask = speculativeType.computeMask(compiler);
|
| if (sourceMask.intersection(speculatedMask, compiler).isEmpty) {
|
| return false;
|
|
|