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 7472118d1c44b32d6136ff969d0c414e6dd70ad2..492848d4434b96aa28561c3d2256541e023a43e1 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
@@ -555,7 +555,7 @@ class SsaConstantFolder extends HBaseVisitor implements OptimizationPhase { |
// TODO(karlklose): remove the hasTypeArguments check. |
} else if (expressionType.isUseful() |
&& !expressionType.canBeNull() |
- && !compiler.codegenWorld.rti.hasTypeArguments(type)) { |
+ && !backend.rti.hasTypeArguments(type)) { |
DartType receiverType = expressionType.computeType(compiler); |
if (receiverType != null) { |
if (compiler.types.isSubtype(receiverType, type)) { |