| 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 fcbc105b9e001e8c6e6289483e07419bb857087a..da27b2084f77b9ff41327b3e559c6af316142869 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| @@ -2740,8 +2740,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| }
|
|
|
| HInstruction instruction;
|
| - if (RuntimeTypeInformation.hasTypeArguments(type) ||
|
| - type.element.isTypeVariable()) {
|
| + if (type.element.isTypeVariable() ||
|
| + RuntimeTypeInformation.hasTypeArguments(type)) {
|
| HInstruction typeInfo = getRuntimeTypeInfo(expression);
|
| // TODO(karlklose): make isSubtype a HInstruction to enable
|
| // optimizations?
|
|
|