ARG-COUNT-ERROR function serves no purpose - remove it.
commiteb556fcf8a1863fc702778252adceea15f12f16b
authorDouglas Katzman <dougk@google.com>
Fri, 31 Jul 2015 01:39:28 +0000 (30 21:39 -0400)
committerDouglas Katzman <dougk@google.com>
Fri, 31 Jul 2015 02:04:24 +0000 (30 22:04 -0400)
treef78a150552eda243bd24729b7f41ae237ff1c35d
parent35bd68db893b6488ce35771de25d47cf46d3978b
ARG-COUNT-ERROR function serves no purpose - remove it.

This was potentially called by each use of a destructuring-bind,
and the theory was that it was cheaper than passing keyword arguments.
This is no longer true, and it's not worth having another random
error-signaling function just to convert positional to keyword args
in at most two places.
Incidentally, the declaration in 'fndb' without SB!KERNEL:: was bogus.
src/compiler/deftype.lisp
src/compiler/fndb.lisp
src/compiler/parse-lambda-list.lisp
tests/lambda-list.pure.lisp