Skip to content
Snippets Groups Projects
Commit ab872f85 authored by gerd's avatar gerd
Browse files

* src/code/defmacro.lisp (dotted-list-length): Declaim inline,

	so that we don't need its fdefn in cold init.
parent 458c9ac4
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defmacro.lisp,v 1.31 2003/07/15 17:52:11 gerd Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defmacro.lisp,v 1.32 2003/07/16 15:33:13 gerd Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -84,6 +84,7 @@
(new)))
(new (car tail)))))
(declaim (inline dotted-list-length))
(defun dotted-list-length (list)
(loop for tail on list until (atom tail) count t))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment