1.0.42.28: package locks to guard against DEFMACRO -> DEFUN and vice-versa
authorNikodemus Siivola <nikodemus@random-state.net>
Fri, 3 Sep 2010 13:01:32 +0000 (13:01 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Fri, 3 Sep 2010 13:01:32 +0000 (13:01 +0000)
commit7448b6225fa43ea6a61391990b173c09505ba45d
treee4270e2accf392279701bfa020b3400b69bad3e8
parent23be01e09b12dbbc0baf3e58e6ed9d904f50176a
1.0.42.28: package locks to guard against DEFMACRO -> DEFUN and vice-versa

 * Fixes lp#576637.

 * PROCLAIM-AS-FUN-NAME is called quite often at compile time, but actually
   does something we care about only rarely -- assert the lock only when
   something changes, so that

    (WITHOUT-PACKAGE-LOCKS (DEFUN LOCKED:FOO ...))

   keeps working for the common case.

 * Similar logic in %DEFMACRO.

 * Some tests adjusted.
NEWS
src/code/defmacro.lisp
src/compiler/info-functions.lisp
src/compiler/proclaim.lisp
tests/package-locks.impure.lisp
tests/run-program.impure.lisp
version.lisp-expr