From 46677a86099bc0b3b4435c9f38f24f0bf1f91c12 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Thu, 10 May 1990 04:50:06 +0000
Subject: [PATCH] Don't use ash when trying to make fixnums, 'cause the old
 compiler gets it wrong.

---
 compiler/mips/parms.lisp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler/mips/parms.lisp b/compiler/mips/parms.lisp
index 4d64c834e..cfbb740d7 100644
--- a/compiler/mips/parms.lisp
+++ b/compiler/mips/parms.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman (FAHLMAN@CMUC). 
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/parms.lisp,v 1.46 1990/05/09 06:40:23 wlott Exp $
+;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/parms.lisp,v 1.47 1990/05/10 04:50:06 wlott Exp $
 ;;;
 ;;;    This file contains some parameterizations of various VM
 ;;; attributes for the MIPS.  This file is separate from other stuff so 
@@ -519,7 +519,8 @@
 (defun fixnum (num)
   "Make a fixnum out of NUM.  (i.e. shift by two bits if it will fit.)"
   (if (<= #x-20000000 num #x1fffffff)
-      (ash num 2)
+      #+new-compiler (ash num 2)
+      #-new-compiler (* num 4)
       (error "~D is too big for a fixnum." num)))
 
 
-- 
GitLab