X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fearly-array.lisp;h=f11ec87fb4649979ed26e97a2ced8180bd694c24;hb=7c75cd363da90afe334e936aad2b63437ea5905d;hp=9d1dba2b17341b00b0c091e1dd1bece40e69f1e3;hpb=8731c1a7c1a585d190151fa881050fb5e14c0616;p=sbcl.git diff --git a/src/code/early-array.lisp b/src/code/early-array.lisp index 9d1dba2..f11ec87 100644 --- a/src/code/early-array.lisp +++ b/src/code/early-array.lisp @@ -13,10 +13,11 @@ #!+sb-doc "the exclusive upper bound on the rank of an array") -(def!constant sb!xc:array-dimension-limit sb!xc:most-positive-fixnum +;;; - 2 to leave space for the array header +(def!constant sb!xc:array-dimension-limit (- sb!xc:most-positive-fixnum 2) #!+sb-doc "the exclusive upper bound on any given dimension of an array") -(def!constant sb!xc:array-total-size-limit sb!xc:most-positive-fixnum +(def!constant sb!xc:array-total-size-limit (- sb!xc:most-positive-fixnum 2) #!+sb-doc "the exclusive upper bound on the total number of elements in an array")