[movitz-cvs] CVS update: movitz/losp/muerte/arrays.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Thu Mar 25 11:17:23 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv32192

Modified Files:
	arrays.lisp 
Log Message:
Remember to initialize flags fields when constructing simple-vectors.

Date: Thu Mar 25 06:17:22 2004
Author: ffjeld

Index: movitz/losp/muerte/arrays.lisp
diff -u movitz/losp/muerte/arrays.lisp:1.7 movitz/losp/muerte/arrays.lisp:1.8
--- movitz/losp/muerte/arrays.lisp:1.7	Mon Mar 22 11:37:47 2004
+++ movitz/losp/muerte/arrays.lisp	Thu Mar 25 06:17:22 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Sun Feb 11 23:14:04 2001
 ;;;;                
-;;;; $Id: arrays.lisp,v 1.7 2004/03/22 16:37:47 ffjeld Exp $
+;;;; $Id: arrays.lisp,v 1.8 2004/03/25 11:17:22 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -555,12 +555,15 @@
 				     :other-tag :vector
 				     :wide-other-tag #.(bt:enum-value 'movitz::movitz-vector-element-type
 								      :any-t))))
-	   (setf (memref array #.(bt:slot-offset 'movitz::movitz-vector 'movitz::type)
-			 0 :unsigned-byte16)
-	     #.(movitz:vector-type-tag :any-t))
 	   (setf (memref array #.(bt:slot-offset 'movitz::movitz-vector 'movitz::num-elements)
 			 0 :unsigned-byte16)
 	     dimensions)
+	   (setf (memref array #.(bt:slot-offset 'movitz::movitz-vector 'movitz::flags)
+			 0 :unsigned-byte16)
+	     0)
+	   (setf (memref array #.(bt:slot-offset 'movitz::movitz-vector 'movitz::type)
+			 0 :unsigned-byte16)
+	     #.(movitz:vector-type-tag :any-t))
 	   (setf (fill-pointer array) fill-pointer)
 	   (cond
 	    (initial-contents





More information about the Movitz-cvs mailing list