X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdefboot.lisp;h=e04a89dc95e7c819941ff8ee20f4be440a6063d8;hb=dbe82b489260b2ef76e916d0aeaee8b3850f5f52;hp=291d73d92f39750c54f1acc9383112dcf6653a57;hpb=64ed946d513d0cd0508fea90cd3b44328e75df9a;p=sbcl.git diff --git a/src/code/defboot.lisp b/src/code/defboot.lisp index 291d73d..e04a89d 100644 --- a/src/code/defboot.lisp +++ b/src/code/defboot.lisp @@ -231,18 +231,9 @@ evaluated as a PROGN." (sb!c::note-name-defined name :function) - ;; FIXME: I want to do this here (and fix bug 137), but until the - ;; breathtaking CMU CL function name architecture is converted into - ;; something sane, (1) doing so doesn't really fix the bug, and - ;; (2) doing probably isn't even really safe. - #+nil (setf (%fun-name def) name) - (when doc - (setf (fdocumentation name 'function) doc) - #!+sb-eval - (when (typep def 'sb!eval:interpreted-function) - (setf (sb!eval:interpreted-function-documentation def) - doc))) + (setf (%fun-doc def) doc)) + name) ;;;; DEFVAR and DEFPARAMETER @@ -337,7 +328,7 @@ evaluated as a PROGN." ;;; ASAP, at the cost of being unable to use the standard ;;; destructuring mechanisms. (defmacro-mundanely dotimes ((var count &optional (result nil)) &body body) - (cond ((numberp count) + (cond ((integerp count) `(do ((,var 0 (1+ ,var))) ((>= ,var ,count) ,result) (declare (type unsigned-byte ,var)) @@ -617,9 +608,7 @@ evaluated as a PROGN." (cons (list ,@(mapcar (lambda (x) `(cons ',(car x) ,(cadr x))) mapped-bindings)) *handler-clusters*))) - ;; KLUDGE: Only on platforms with DX FIXED-ALLOC. FIXME: Add a - ;; feature for that, so we can conditionalize on it neatly. - #!+(or hppa mips x86 x86-64) + #!+stack-allocatable-fixed-objects (declare (truly-dynamic-extent *handler-clusters*)) (progn ,form)))))