Index: src/compiler/type-cache.h |
diff --git a/src/compiler/type-cache.h b/src/compiler/type-cache.h |
index ead40251599ac5a0c6fb0245e31861a7491f6fed..392c3318e8b799021eb9c1dd70bae048307ca4e3 100644 |
--- a/src/compiler/type-cache.h |
+++ b/src/compiler/type-cache.h |
@@ -141,6 +141,10 @@ class TypeCache final { |
Type* const kJSDateYearType = |
Type::Union(Type::SignedSmall(), Type::NaN(), zone()); |
+ // The valid number of arguments for JavaScript functions. |
+ Type* const kArgumentsLengthType = |
+ Type::Range(0.0, Code::kMaxArguments, zone()); |
+ |
private: |
template <typename T> |
Type* CreateRange() { |