Index: pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
index 28397eb68bc52a7f7558c4a456f6ffb850a98cc7..3b80af447150a6af7c2d8044e53d417cabdf064b 100644 |
--- a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
+++ b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
@@ -103,6 +103,26 @@ enum BuiltinOperator { |
/// |
/// Compiles to `typeof x === 'number' && Math.floor(x) === x` |
IsNumberAndFloor, |
+ |
+ /// Returns true if the argument is a fixed length Array. |
+ /// |
+ /// Uses one argument. |
+ /// |
+ /// Precondition: Argument is a JavaScript Array. |
+ IsFixedLengthJSArray, |
+ |
+ // TODO(sra): Remove this and replace with IsFalsy(IsFixedLengthJSArray(x)). |
+ IsExtendableJSArray, |
+ |
+ /// Returns true if the argument is an unmodifiable Array. |
+ /// |
+ /// Uses one argument. |
+ /// |
+ /// Precondition: Argument is a JavaScript Array. |
+ IsUnmodifiableJSArray, |
+ |
+ // TODO(sra): Remove this and replace with IsFalsy(IsUnmodifiableArray(x)). |
+ IsModifiableJSArray, |
} |
/// A method supported natively in the CPS and Tree IRs using the |