1.0.4.85: small PCL cleanups and thread-safety notes
[sbcl.git] / src / pcl / dlisp2.lisp
index cfe0489..538c781 100644 (file)
 ;;;; specification.
 
 (in-package "SB-PCL")
+
+;;;; The whole of this file is dead code as long as *optimize-cache-functions-p*
+;;;; is true, which it currently _always_ is.
+
 \f
 (defun emit-reader/writer-function (reader/writer 1-or-2-class class-slot-p)
   (values
@@ -89,7 +93,7 @@
   (if cached-emf-p
       (lambda (cache miss-fn)
         (declare (type function miss-fn))
-        #'(instance-lambda (&rest args)
+        #'(lambda (&rest args)
             (declare #.*optimize-speed*)
             (with-dfun-wrappers (args metatypes)
               (dfun-wrappers invalid-wrapper-p)
                             (invoke-emf emf args))))))))
       (lambda (cache emf miss-fn)
         (declare (type function miss-fn))
-        #'(instance-lambda (&rest args)
+        #'(lambda (&rest args)
             (declare #.*optimize-speed*)
             (with-dfun-wrappers (args metatypes)
               (dfun-wrappers invalid-wrapper-p)