From 078dfe2f7cc2e57affbe8468eba4cb5fa7a60bcd Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Tue, 24 Jul 1990 21:38:59 +0000
Subject: [PATCH] Fixed the DATA-VECTOR-REF transform for random SIMPLE-ARRAYs
 to transform to DATA-VECTOR-SET rather than DATA-VECTOR-REF.

---
 compiler/generic/vm-tran.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/generic/vm-tran.lisp b/compiler/generic/vm-tran.lisp
index fb5b4c6df..bc1302294 100644
--- a/compiler/generic/vm-tran.lisp
+++ b/compiler/generic/vm-tran.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman (FAHLMAN@CMUC). 
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-tran.lisp,v 1.17 1990/07/02 13:06:22 ram Exp $
+;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-tran.lisp,v 1.18 1990/07/24 21:38:59 ram Exp $
 ;;;
 ;;;    This file contains impelemtentation-dependent transforms.
 ;;;
@@ -145,7 +145,7 @@
 	    (total-size (if (member '* dims)
 			    '*
 			    (reduce #'* dims))))
-	`(data-vector-ref (truly-the (simple-array ,(type-specifier el-type)
+	`(data-vector-set (truly-the (simple-array ,(type-specifier el-type)
 						   (,total-size))
 				     (%array-data-vector array))
 			  index
-- 
GitLab