Remove FUN-NAME and some other accessors; efficiency tweaks.
commit0e6ffa659029f6a8c874f5773e10244e6f90d035
authorDouglas Katzman <dougk@google.com>
Sat, 14 May 2016 14:25:07 +0000 (14 10:25 -0400)
committerDouglas Katzman <dougk@google.com>
Sat, 14 May 2016 15:31:14 +0000 (14 11:31 -0400)
tree51b99d20689893dea2c5170143b400ccae41bba1
parentfdc84dc956b780269fe14966e290ec136e36a2be
Remove FUN-NAME and some other accessors; efficiency tweaks.

%FUN-NAME subsumes FUN-NAME name. The latter was a holdover from when
(TYPEP x 'GENERIC-FUNCTION) couldn't be tested until PCL bootstrap.
It would have make sense to absorb %FUN-NAME into FUN-NAME, but the reverse
was more practical: grepping for '(fun-name' finds tons of hits that aren't
accessor calls, whereas '(%fun-name' is always the accessor.

Also we don't need lambda-list and docstring accessors that only accept
interpreter functions, so those have been pulled into the general case.
14 files changed:
contrib/sb-introspect/introspect.lisp
package-data-list.lisp-expr
src/code/debug-int.lisp
src/code/describe.lisp
src/code/inspect.lisp
src/code/target-misc.lisp
src/compiler/generic/vm-fndb.lisp
src/compiler/info-functions.lisp
src/interpreter/debug.lisp
src/interpreter/env.lisp
src/interpreter/function.lisp
src/interpreter/sexpr.lisp
src/pcl/documentation.lisp
tests/symbol.pure.lisp