From 5e0c20eebe266dd21ef90a4f3855853ac13c2fb0 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Wed, 7 Mar 1990 18:38:35 +0000
Subject: [PATCH] Added :result-types for schar and (setf schar) vops.

---
 compiler/mips/array.lisp | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/compiler/mips/array.lisp b/compiler/mips/array.lisp
index 6c6acd5e9..9235e7274 100644
--- a/compiler/mips/array.lisp
+++ b/compiler/mips/array.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman (FAHLMAN@CMUC). 
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.2 1990/03/07 00:22:33 wlott Exp $
+;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.3 1990/03/07 18:38:35 wlott Exp $
 ;;;
 ;;;    This file contains the MIPS definitions for array operations.
 ;;;
@@ -60,18 +60,20 @@
 
 
 (define-vop (fast-schar byte-index-ref)
+  (:arg-types simple-string *)
   (:results (value :scs (base-character-reg)))
-  (:variant vm:vector-base-size vm:other-pointer-type)
+  (:result-types base-character)
+  (:variant vm:vector-data-offset vm:other-pointer-type)
   (:translate aref)
-  (:policy :fast)
-  (:arg-types simple-string *))
+  (:policy :fast))
 
 (define-vop (fast-scharset byte-index-set)
   (:args (object :scs (descriptor-reg))
 	 (index :scs (any-reg descriptor-reg immediate unsigned-immediate))
 	 (value :scs (base-character-reg)))
   (:results (result :scs (base-character-reg)))
-  (:variant vm:vector-base-size vm:other-pointer-type)
+  (:result-types base-character)
+  (:variant vm:vector-data-offset vm:other-pointer-type)
   (:translate %aset)
   (:policy :fast)
   (:arg-types simple-string * base-character))
-- 
GitLab