X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fboot.lisp;h=8d87432ec6ef63144c9ded2457ba45cc3003bff0;hb=62f25b3b18b66ae67d555ca8a05026dbf03d89e1;hp=387a0d3b211efb78f989f65ef4117a842463e0ea;hpb=f68aae04c952d9e9749c0f7cc8cf3768e82f15a8;p=sbcl.git diff --git a/src/pcl/boot.lisp b/src/pcl/boot.lisp index 387a0d3..8d87432 100644 --- a/src/pcl/boot.lisp +++ b/src/pcl/boot.lisp @@ -638,7 +638,7 @@ bootstrapping. (cond (class (if (typep class '(or built-in-class structure-class)) - `(type ,specializer ,parameter) + `(type ,class ,parameter) ;; don't declare CLOS classes as parameters; ;; it's too expensive. '(ignorable))) @@ -1420,7 +1420,13 @@ bootstrapping. (t form)))) (let ((walked-lambda (walk-form method-lambda env #'walk-function))) - (values walked-lambda + ;;; FIXME: the walker's rewriting of the source code causes + ;;; trouble when doing code coverage. The rewrites should be + ;;; removed, and the same operations done using + ;;; compiler-macros or tranforms. + (values (if (sb-c:policy env (= sb-c:store-coverage-data 0)) + walked-lambda + method-lambda) call-next-method-p closurep next-method-p-p @@ -2003,8 +2009,6 @@ bootstrapping. (setf (gf-dfun-state generic-function) new-value))) (defun set-dfun (gf &optional dfun cache info) - (when cache - (setf (cache-owner cache) gf)) (let ((new-state (if (and dfun (or cache info)) (list* dfun cache info) dfun)))