1.0.20.27: fixed bug 415
[sbcl.git] / src / code / early-array.lisp
1 ;;;; This software is part of the SBCL system. See the README file for
2 ;;;; more information.
3 ;;;;
4 ;;;; This software is derived from the CMU CL system, which was
5 ;;;; written at Carnegie Mellon University and released into the
6 ;;;; public domain. The software is in the public domain and is
7 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
8 ;;;; files for more information.
9
10 (in-package "SB!IMPL")
11
12 (def!constant sb!xc:array-rank-limit 65529
13   #!+sb-doc
14   "the exclusive upper bound on the rank of an array")
15
16 ;;; - 2 to leave space for the array header
17 (def!constant sb!xc:array-dimension-limit (- sb!xc:most-positive-fixnum 2)
18   #!+sb-doc
19   "the exclusive upper bound on any given dimension of an array")
20
21 (def!constant sb!xc:array-total-size-limit (- sb!xc:most-positive-fixnum 2)
22   #!+sb-doc
23   "the exclusive upper bound on the total number of elements in an array")