Fix loading specialized vectors from fasls.
authorStas Boukarev <stassats@gmail.com>
Thu, 19 Sep 2013 02:24:25 +0000 (06:24 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 19 Sep 2013 02:24:25 +0000 (06:24 +0400)
commitf42374639ed3c17feee330939df92117a0055d02
treecf47bc67c32c9113d58b7ec3e99a8992a7d24782
parent7dfa54273d2ebc6c2be9a39ab5cd6df639d340c9
Fix loading specialized vectors from fasls.

Previously vectors were dumped and loaded based on the hand crafted
typecase forms, which was quite fragile.
After the dumping part was rewritten to consult
sb-vm:*specialized-array-element-type-properties*, the loading part
broke down.
Change the way it's done altogether, simplifying things significantly.
Instead of having separate FOPs for signed and unsigned vectors,
writing bit size of elements, just dump the widetag and use just a
single FOP, fop-spec-vector. Floating point dumping routines now use
fop-spec-vector too.
src/code/fop.lisp
src/compiler/dump.lisp
src/compiler/generic/genesis.lisp
src/compiler/target-dump.lisp
tests/compiler.pure-cload.lisp