projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.26.2: alloc_code_object facelift
[sbcl.git]
/
src
/
code
/
early-array.lisp
diff --git
a/src/code/early-array.lisp
b/src/code/early-array.lisp
index
808cfef
..
f11ec87
100644
(file)
--- a/
src/code/early-array.lisp
+++ b/
src/code/early-array.lisp
@@
-9,14
+9,15
@@
(in-package "SB!IMPL")
(in-package "SB!IMPL")
-(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")
#!+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")
#!+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")
#!+sb-doc
"the exclusive upper bound on the total number of elements in an array")