X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fclass.lisp;h=38fbef051f8ee107bb57fbecab533d89008e85f5;hb=7254da92a1ba1bf8bc5a2e78a29d993f272d526e;hp=4e2d8fcc79cf43f280a27ea708ab57cec6911d2b;hpb=fb2f167e3ea360de1eb1c436de948df5086a6292;p=sbcl.git diff --git a/src/code/class.lisp b/src/code/class.lisp index 4e2d8fc..38fbef0 100644 --- a/src/code/class.lisp +++ b/src/code/class.lisp @@ -705,7 +705,7 @@ (defun find-classoid-cell (name &key create errorp) (let ((table *classoid-cells*) (real-name (uncross name))) - (or (with-locked-hash-table (table) + (or (with-locked-system-table (table) (or (gethash real-name table) (when create (setf (gethash real-name table) (make-classoid-cell real-name))))) @@ -767,7 +767,8 @@ (:primitive (error "Cannot redefine standard type ~S." name)) (:defined - (warn "Redefining DEFTYPE type to be a class: ~S" name) + (warn "redefining DEFTYPE type to be a class: ~ + ~/sb-impl::print-symbol-with-prefix/" name) (setf (info :type :expander name) nil (info :type :lambda-list name) nil (info :type :source-location name) nil))) @@ -826,7 +827,7 @@ (defun insured-find-classoid (name predicate constructor) (declare (type function predicate constructor)) (let ((table *forward-referenced-layouts*)) - (with-locked-hash-table (table) + (with-locked-system-table (table) (let* ((old (find-classoid name nil)) (res (if (and old (funcall predicate old)) old