| Index: sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| index 333bd7e725947cb630a0096d80d4a4e9f3bac075..e19cdfa8a3793999dc02d28bd3f9a4cc4a57ad2f 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| @@ -651,7 +651,7 @@ class SsaInstructionSimplifier extends HBaseVisitor
|
| HInstruction value = node.inputs[0];
|
| DartType type = node.typeExpression;
|
| if (type != null) {
|
| - if (!type.isRaw || type.kind == TypeKind.TYPE_VARIABLE) {
|
| + if (!type.treatAsRaw || type.kind == TypeKind.TYPE_VARIABLE) {
|
| return node;
|
| }
|
| if (type.kind == TypeKind.FUNCTION) {
|
| @@ -769,7 +769,7 @@ class SsaInstructionSimplifier extends HBaseVisitor
|
| HInstruction value = node.inputs.last;
|
| if (compiler.enableTypeAssertions) {
|
| DartType type = field.computeType(compiler);
|
| - if (!type.isRaw || type.kind == TypeKind.TYPE_VARIABLE) {
|
| + if (!type.treatAsRaw || type.kind == TypeKind.TYPE_VARIABLE) {
|
| // We cannot generate the correct type representation here, so don't
|
| // inline this access.
|
| return node;
|
|
|