From: Nikodemus S. <de...@us...> - 2010-02-28 17:37:21
|
Update of /cvsroot/sbcl/sbcl/src/compiler In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv11149/src/compiler Modified Files: ir1util.lisp Log Message: 1.0.36.2: buglet in LVAR-MATCHES * LVAR-USE where it should have been LVAR-USES. Fixes launchpad bug #523612. Index: ir1util.lisp =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/compiler/ir1util.lisp,v retrieving revision 1.133 retrieving revision 1.134 diff -u -d -r1.133 -r1.134 --- ir1util.lisp 7 Nov 2009 10:03:23 -0000 1.133 +++ ir1util.lisp 28 Feb 2010 17:37:12 -0000 1.134 @@ -2190,8 +2190,11 @@ (not (null (member (leaf-source-name leaf) names :test #'equal)))))))) +;;; Return true if LVAR's only use is a call to one of the named functions +;;; (or any function if none are specified) with the specified number of +;;; of arguments (or any number if number is not specified) (defun lvar-matches (lvar &key fun-names arg-count) - (let ((use (lvar-use lvar))) + (let ((use (lvar-uses lvar))) (and (combination-p use) (or (not fun-names) (multiple-value-bind (name ok) |