X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcold%2Fcompile-cold-sbcl.lisp;h=987e65a5b44560a649faf76f39365db7d11faf00;hb=5277a0cbf1a72243cad6808883a4847acefc8e6b;hp=7589dc1f5191bf4214784f146fa8df287cfd5257;hpb=cea4896b2482b7b2b429c1631d774b4cfbc0efba;p=sbcl.git diff --git a/src/cold/compile-cold-sbcl.lisp b/src/cold/compile-cold-sbcl.lisp index 7589dc1..987e65a 100644 --- a/src/cold/compile-cold-sbcl.lisp +++ b/src/cold/compile-cold-sbcl.lisp @@ -18,26 +18,25 @@ ;;; KLUDGE.. ;;; -;;; CMU CL (as of 2.4.6 for Debian, anyway) issues warnings (and not just -;;; STYLE-WARNINGs, either, alas) when it tries to interpret code containing -;;; references to undefined functions. The most common problem is that -;;; macroexpanded code refers to this function, which isn't defined until late. +;;; CMU CL (as of 2.4.6 for Debian, anyway) issues warnings (and not +;;; just STYLE-WARNINGs, either, alas) when it tries to interpret code +;;; containing references to undefined functions. The most common +;;; problem is that macroexpanded code refers to this function, which +;;; isn't defined until late. ;;; ;;; This -;;; #+cmu (defun sb!kernel::do-arg-count-error (&rest rest) -;;; (error "stub version of do-arg-count-error, rest=~S" rest)) +;;; #+cmu (defun sb!kernel::arg-count-error (&rest rest) +;;; (error "stub version of ARG-COUNT-ERROR, rest=~S" rest)) ;;; doesn't work, with or without this -;;; (compile 'sb!kernel::do-arg-count-error)) +;;; (compile 'sb!kernel::arg-count-error)) ;;; so perhaps I should try ;;; (declaim (ftype ..) ..) ;;; instead? -(declaim (ftype (function (&rest t) nil) sb!kernel::do-arg-count-error)) +(declaim (ftype (function (&rest t) nil) sb!kernel::arg-count-error)) (let ((reversed-target-object-file-names nil)) - (for-stems-and-flags (stem flags) - (unless (find :not-target flags) - ;; FIXME: Remove these GC calls after fixing the problem of ridiculous - ;; bootstrap memory bloat. + (do-stems-and-flags (stem flags) + (unless (position :not-target flags) (push (target-compile-stem stem :assem-p (find :assem flags) :ignore-failure-p (find :ignore-failure-p