From 56839dddb07c2c2a28a1c124e380a58d7ca45454 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Wed, 9 May 1990 06:39:33 +0000
Subject: [PATCH] Don't allow constants to be loaded into any-regs, 'cause it
 doesn't pay any attention to the primitive type restrictions when picking
 load-tns.

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

diff --git a/compiler/mips/move.lisp b/compiler/mips/move.lisp
index ff03824c8..ae4d0ce73 100644
--- a/compiler/mips/move.lisp
+++ b/compiler/mips/move.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman (FAHLMAN@CMUC). 
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.13 1990/04/24 02:56:22 wlott Exp $
+;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.14 1990/05/09 06:39:33 wlott Exp $
 ;;;
 ;;;    This file contains the MIPS VM definition of operand loading/saving and
 ;;; the Move VOP.
@@ -44,7 +44,7 @@
   (inst li y (char-code (tn-value x))))
 
 (define-move-function (load-constant 5) (vop x y)
-  ((constant) (any-reg descriptor-reg))
+  ((constant) (descriptor-reg))
   (loadw y code-tn (tn-offset x) other-pointer-type))
 
 (define-move-function (load-stack 5) (vop x y)
-- 
GitLab