X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ftn.lisp;h=18e9ca63bfdc53d15ffb3d340da2b7c3f806f2c3;hb=2fe7ca730f378505f86a7553462fa3241185d444;hp=11a833474d405dec89cf3540e3f3819810026cd0;hpb=581e3d62de8cb37e13ad9db63e5537c0f962be28;p=sbcl.git diff --git a/src/compiler/tn.lisp b/src/compiler/tn.lisp index 11a8334..18e9ca6 100644 --- a/src/compiler/tn.lisp +++ b/src/compiler/tn.lisp @@ -427,10 +427,8 @@ ;;; Return a list of N normal TNs of the specified primitive type. (defun make-n-tns (n ptype) (declare (type unsigned-byte n) (type primitive-type ptype)) - (collect ((res)) - (dotimes (i n) - (res (make-normal-tn ptype))) - (res))) + (loop repeat n + collect (make-normal-tn ptype))) ;;; Return true if X and Y are packed in the same location, false otherwise. ;;; This is false if either operand is constant.