Index: pkg/compiler/lib/src/ssa/types_propagation.dart |
diff --git a/pkg/compiler/lib/src/ssa/types_propagation.dart b/pkg/compiler/lib/src/ssa/types_propagation.dart |
index 2fb2d1163ab458977fa7adf694661f1a25355ca2..adda76e42a949252d5284b201a922d3f7e2125ad 100644 |
--- a/pkg/compiler/lib/src/ssa/types_propagation.dart |
+++ b/pkg/compiler/lib/src/ssa/types_propagation.dart |
@@ -262,7 +262,7 @@ class SsaTypePropagator extends HBaseVisitor implements OptimizationPhase { |
cls.declaration, classWorld); |
// TODO(ngeoffray): We currently only optimize on primitive |
// types. |
- if (!type.satisfies(backend.jsIndexableClass, classWorld) && |
+ if (!type.satisfies(backend.helpers.jsIndexableClass, classWorld) && |
!type.containsOnlyNum(classWorld) && |
!type.containsOnlyBool(classWorld)) { |
return false; |