Index: pkg/compiler/lib/src/ssa/optimize.dart |
diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart |
index b9719b373b1a187c7f2aac49f57d9dec3187b255..3b3a061c6f7eb8ad09f0a83da85e646e85455fd2 100644 |
--- a/pkg/compiler/lib/src/ssa/optimize.dart |
+++ b/pkg/compiler/lib/src/ssa/optimize.dart |
@@ -168,8 +168,8 @@ bool isFixedLength(mask, ClosedWorld closedWorld) { |
return true; |
} |
// TODO(sra): Recognize any combination of fixed length indexables. |
- if (mask.containsOnly(closedWorld.backendClasses.fixedListClass) || |
- mask.containsOnly(closedWorld.backendClasses.constListClass) || |
+ if (mask.containsOnly(closedWorld.commonElements.jsFixedArrayClass) || |
+ mask.containsOnly(closedWorld.commonElements.jsUnmodifiableArrayClass) || |
mask.containsOnlyString(closedWorld) || |
closedWorld.commonMasks.isTypedArray(mask)) { |
return true; |