From 3ec917939449e517aa0b6435c92ceb4073e9e8a7 Mon Sep 17 00:00:00 2001
From: dtc <dtc>
Date: Mon, 10 Jan 2000 14:43:54 +0000
Subject: [PATCH] Do not use the hairy-type (and integer (not fixnum)) for the
 bignum type, rather use a integer union type which is handled far better by
 the type system; from Raymond Toy.

---
 code/class.lisp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/code/class.lisp b/code/class.lisp
index f45af4c18..f6f343fe3 100644
--- a/code/class.lisp
+++ b/code/class.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/class.lisp,v 1.41 1998/07/24 17:17:50 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/class.lisp,v 1.42 2000/01/10 14:43:54 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -742,7 +742,8 @@
 	   :inherits (integer rational real number generic-number)
 	   :codes (#.vm:even-fixnum-type #.vm:odd-fixnum-type))
 	  (bignum
-	   :translation (and integer (not fixnum))
+	   :translation (or (integer * (#.vm:target-most-negative-fixnum))
+			    (integer (#.vm:target-most-positive-fixnum) *))
 	   :inherits (integer rational real number generic-number)
 	   :codes (#.vm:bignum-type))
 	  
-- 
GitLab