| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| index 6123f69394a2944cf9793da4cf33c940c8349f0d..cb0fcfef5bdd8e57eaa5e94a9b8848500939b2d2 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| @@ -1807,11 +1807,11 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| int kind) {
|
| if (type == null) return original;
|
| type = type.unalias(compiler);
|
| - if (type.kind == TypeKind.INTERFACE && !type.isRaw) {
|
| - HType subtype = new HType.subtype(type, compiler);
|
| - HInstruction representations = buildTypeArgumentRepresentations(type);
|
| - add(representations);
|
| - return new HTypeConversion.withTypeRepresentation(type, kind, subtype,
|
| + if (type.kind == TypeKind.INTERFACE && !type.treatAsRaw) {
|
| + HType subtype = new HType.subtype(type, compiler);
|
| + HInstruction representations = buildTypeArgumentRepresentations(type);
|
| + add(representations);
|
| + return new HTypeConversion.withTypeRepresentation(type, kind, subtype,
|
| original, representations);
|
| } else if (type.kind == TypeKind.TYPE_VARIABLE) {
|
| HType subtype = original.instructionType;
|
| @@ -3481,7 +3481,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| Node currentNode,
|
| HInstruction newObject) {
|
| if (!backend.classNeedsRti(type.element)) return;
|
| - if (!type.isRaw) {
|
| + if (!type.treatAsRaw) {
|
| List<HInstruction> inputs = <HInstruction>[];
|
| type.typeArguments.forEach((DartType argument) {
|
| inputs.add(analyzeTypeArgument(argument));
|
|
|