X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fearly-array.lisp;h=f11ec87fb4649979ed26e97a2ced8180bd694c24;hb=a160917364f85b38dc0826a5e3dcef87e3c4c62c;hp=7ee11577032d9f28cee522a9523837e99aa1cbcb;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/code/early-array.lisp b/src/code/early-array.lisp index 7ee1157..f11ec87 100644 --- a/src/code/early-array.lisp +++ b/src/code/early-array.lisp @@ -9,17 +9,15 @@ (in-package "SB!IMPL") -(file-comment - "$Header$") - -(defconstant sb!xc:array-rank-limit 65529 +(def!constant sb!xc:array-rank-limit 65529 #!+sb-doc "the exclusive upper bound on the rank of an array") -(defconstant sb!xc:array-dimension-limit sb!vm:*target-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") -(defconstant sb!xc:array-total-size-limit sb!vm:*target-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")