Optimize (SETF SCHAR).
commit59ae5fef5790ec446590c5335403a8a6d81ca672
authorStas Boukarev <stassats@gmail.com>
Mon, 29 Feb 2016 15:29:07 +0000 (29 18:29 +0300)
committerStas Boukarev <stassats@gmail.com>
Mon, 29 Feb 2016 15:29:07 +0000 (29 18:29 +0300)
tree544f323ebfbf988eba031b6fe93b1c9fbce0a111
parent1feb1b4fe9aa1c479d735117b174607843845a17
Optimize (SETF SCHAR).

The transform on HAIRY-DATA-VECTOR-SET transformed the NIL case into
DATA-VECTOR-SET which then derived the type of VALUE to be NIL, which
conflicts with any other type at compile-time and the data-vector-set
VOP has no chance of being invoked.
Transform into NIL-ARRAY-ACCESSED-ERROR directly.
src/compiler/generic/vm-tran.lisp