0.8.0.42:
authorChristophe Rhodes <csr21@cam.ac.uk>
Sat, 7 Jun 2003 11:01:58 +0000 (11:01 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Sat, 7 Jun 2003 11:01:58 +0000 (11:01 +0000)
commit0051cc0532da9f68a0ba5db5c07ebee1c91ee4d8
tree4a187c9f2b0645124aa0cdcffd60a6911f258ddf
parent5b97c18e0f762a45300a86c53f0458d1ffc8eed3
0.8.0.42:
Quieten the compiler slightly for (LENGTH <VECTOR>)
... one of the transforms wants to constant-fold the above when
<VECTOR> is a 1d SIMPLE-ARRAY of known dimensions.
However, the deftransform definition (with a simple-array
type requirement) caused the compiler to complain when
the argument was known to be a vector but not a simple-array.
Instead, leave the type requirement for the transform open,
and GIVE-UP-IR1-TRANSFORM (with no arguments => silence)
if the argument isn't simple.
... write some tests for LENGTH on vectors
src/compiler/array-tran.lisp
tests/vector.pure.lisp
version.lisp-expr