Index: src/type-cache.h |
diff --git a/src/type-cache.h b/src/type-cache.h |
index 25acd647138d98d3a07e00aa3b087bbaf9773467..3ebf91e66b8b6c1a91b32d3934120b7120621340 100644 |
--- a/src/type-cache.h |
+++ b/src/type-cache.h |
@@ -125,6 +125,11 @@ class TypeCache final { |
Type* const kJSArrayLengthType = |
CreateNative(Type::Unsigned32(), Type::Tagged()); |
+ // The JSTyped::length property always contains a tagged number in the range |
+ // [0, kMaxSmiValue]. |
+ Type* const kJSTypedArrayLengthType = |
+ CreateNative(Type::UnsignedSmall(), Type::TaggedSigned()); |
+ |
// The String::length property always contains a smi in the range |
// [0, String::kMaxLength]. |
Type* const kStringLengthType = |