| 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 66ed77049f5a2e5d5a9ac7137cb0778f0550a625..9ccb4ede178b595d43f73f6a8d83226d92609c55 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| @@ -563,6 +563,9 @@ class SsaConstantFolder extends HBaseVisitor implements OptimizationPhase {
|
| }
|
|
|
| HInstruction visitTypeConversion(HTypeConversion node) {
|
| + // TODO(kasperl): This needs cleaning up. We shouldn't be creating
|
| + // HType objects for malformed types.
|
| + if (node.isMalformedCheckedModeCheck) return node;
|
| HInstruction value = node.inputs[0];
|
| DartType type = node.instructionType.computeType(compiler);
|
| if (identical(type.element, compiler.dynamicClass)
|
|
|