X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftypecheckfuns.lisp;h=e4a0d8b15b1c69275c82a2411f5d7c2e154c94dc;hb=568214ddf4c8ecc881caec98e20848d017974ec0;hp=eeaeb0ab4a45199df415348f4d51b1a901192a97;hpb=2034cb134af58c5998f4e305673af6e2c75bc179;p=sbcl.git diff --git a/src/code/typecheckfuns.lisp b/src/code/typecheckfuns.lisp index eeaeb0a..e4a0d8b 100644 --- a/src/code/typecheckfuns.lisp +++ b/src/code/typecheckfuns.lisp @@ -130,20 +130,26 @@ #+sb-xc (defun !typecheckfuns-cold-init () + (/show0 "in typecheckfuns-cold-init") (setf *typecheckfuns* (make-hash-table :test 'equal)) ;; Initialize the table of common typespecs. (setf *common-typespecs* #.*compile-time-common-typespecs*) ;; Initialize *TYPECHECKFUNS* with typecheckfuns for common typespecs. + (/show0 "typecheckfuns-cold-init initial setfs done") (macrolet ((macro () `(progn ,@(map 'list (lambda (typespec) - `(setf (gethash ',typespec *typecheckfuns*) - (lambda (arg) - (unless (typep arg ',typespec) - (typecheck-failure arg ',typespec)) - (values)))) - *common-typespecs*)))) + `(progn + (/show0 "setf") + (setf (gethash ',typespec *typecheckfuns*) + (progn + (/show0 "lambda") + (lambda (arg) + (unless (typep arg ',typespec) + (typecheck-failure arg ',typespec)) + (values)))))) + *common-typespecs*)))) (macro)) (values))