Remove a brittle timing dependency from globaldb bootstrap.
commit9fa801f4cbac058aa0edfb2d00172faf71b5026e
authorDouglas Katzman <dougk@google.com>
Fri, 6 Mar 2015 00:46:09 +0000 (5 19:46 -0500)
committerDouglas Katzman <dougk@google.com>
Fri, 6 Mar 2015 02:03:41 +0000 (5 21:03 -0500)
tree5f5a1c0169b3afd28d401e94c2c10347ce0588ac
parenteedb29ab84fb1028ec591a87866da98a13e2a3f9
Remove a brittle timing dependency from globaldb bootstrap.

The defaults for (INFO :FUNCTION {:TYPE|:WHERE-FROM} <name>) both call
FBOUNDP, and if (SETF f) is not defined, then (FBOUNDP '(SETF f))
calls LEGAL-FUN-NAME-OR-TYPE-ERROR, which reads *VALID-FUN-NAMES-ALIST*.
By initializing the alist prior to cold-init, the code is safer.
src/code/cold-init.lisp
src/code/function-names.lisp
src/compiler/generic/genesis.lisp