X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Ffixup.lisp;h=6244ebbbd82c0676cc9ce8537f0ac7cdad9592b5;hb=45bc305be4e269d2e1a477c8e0ae9a64df1ccd1c;hp=b7b4f21f05cfb6d81f4a64d0b2dbb42c8f37ac79;hpb=0ee1135a83da462e6de2a98bb2eff837b278f926;p=sbcl.git diff --git a/src/pcl/fixup.lisp b/src/pcl/fixup.lisp index b7b4f21..6244ebb 100644 --- a/src/pcl/fixup.lisp +++ b/src/pcl/fixup.lisp @@ -27,7 +27,7 @@ (!fix-ensure-accessor-specializers) (compute-standard-slot-locations) (dolist (s '(condition structure-object)) - (dohash (k v (classoid-subclasses (find-classoid s))) + (dohash ((k v) (classoid-subclasses (find-classoid s))) (find-class (classoid-name k)))) (setq *boot-state* 'complete) @@ -35,15 +35,3 @@ (declare (ignore depth)) (print-object instance stream)) -;;; Access the slot-vector created by MAKE-SLOT-VECTOR. -(defun find-slot-definition (class slot-name) - (declare (symbol slot-name) (inline getf)) - (let* ((vector (class-slot-vector class)) - (index (rem (sxhash slot-name) (length vector)))) - (declare (simple-vector vector) (index index)) - (do ((plist (svref vector index) (cdr plist))) - ((not plist)) - (let ((key (car plist))) - (setf plist (cdr plist)) - (when (eq key slot-name) - (return (car plist)))))))