From b35875dfefe571a97da8509d8c4670446cfd66bc Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Sat, 12 Jun 1993 21:35:32 +0000
Subject: [PATCH] Changed data-vector-ref/simple-vector to not include null and
 zero as valid scs for the result.

---
 compiler/mips/array.lisp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/compiler/mips/array.lisp b/compiler/mips/array.lisp
index 224b1a98b..9d83423ea 100644
--- a/compiler/mips/array.lisp
+++ b/compiler/mips/array.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.42 1993/06/12 20:35:23 wlott Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.43 1993/06/12 21:35:32 wlott Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -136,7 +136,9 @@
 (defmacro def-full-data-vector-frobs (type element-type &rest scs)
   `(progn
      (define-full-reffer ,(symbolicate "DATA-VECTOR-REF/" type) ,type
-       vector-data-offset other-pointer-type ,scs ,element-type
+       vector-data-offset other-pointer-type
+       ,(remove-if #'(lambda (x) (member x '(null zero))) scs)
+       ,element-type
        data-vector-ref)
      (define-full-setter ,(symbolicate "DATA-VECTOR-SET/" type) ,type
        vector-data-offset other-pointer-type ,scs ,element-type
-- 
GitLab