Index: pkg/compiler/lib/src/ssa/codegen.dart |
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart |
index 75bab2ac4b82d1130034dc473a70a1d32c6c5c3c..cd772ef81ec22c7726e9ef3039c896689557ffda 100644 |
--- a/pkg/compiler/lib/src/ssa/codegen.dart |
+++ b/pkg/compiler/lib/src/ssa/codegen.dart |
@@ -2332,6 +2332,13 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor { |
checkFixedArray(input); |
} |
return; |
+ } else if (element == backend.jsUnmodifiableArrayClass) { |
+ if (negative) { |
+ checkMutableArray(input); |
+ } else { |
+ checkImmutableArray(input); |
+ } |
+ return; |
} |
if (interceptor != null) { |
checkTypeViaProperty(interceptor, type, negative); |