CMUCL commit: src/code (array.lisp)

Raymond Toy rtoy at common-lisp.net
Thu Jan 28 16:02:13 CET 2010


    Date: Thursday, January 28, 2010 @ 10:02:13
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/code

Modified: array.lisp

Oops.  Debugging print for FREE-STATIC-VECTOR was in the wrong place. 


------------+
 array.lisp |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


Index: src/code/array.lisp
diff -u src/code/array.lisp:1.50 src/code/array.lisp:1.51
--- src/code/array.lisp:1.50	Sun Dec  6 14:08:15 2009
+++ src/code/array.lisp	Thu Jan 28 10:02:13 2010
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /project/cmucl/cvsroot/src/code/array.lisp,v 1.50 2009-12-06 19:08:15 rtoy Exp $")
+  "$Header: /project/cmucl/cvsroot/src/code/array.lisp,v 1.51 2010-01-28 15:02:13 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -358,10 +358,9 @@
 	   (logbitp vm:type-bits header)))))
 
 (defun free-static-vector (vector)
-  (format t "~&Freeing foreign vector at #x~X~%"
-	  addr)
   (sys:without-gcing
    (let ((addr (logandc1 vm:lowtag-mask (kernel:get-lisp-obj-address vector))))
+     (format t "~&Freeing foreign vector at #x~X~%" addr)
      (alien:alien-funcall
       (alien:extern-alien "free"
 			  (function c-call:void



More information about the cmucl-commit mailing list