From 0e0bde9e3a8f6bd77904f789bfe7082548ed5214 Mon Sep 17 00:00:00 2001 From: sewardj Date: Mon, 6 Dec 1999 16:47:09 +0000 Subject: [PATCH] [project @ 1999-12-06 16:47:07 by sewardj] Remove compile-time address space allocated to tuples, and remove all references to TUPMIN. I think I have fixed the address mapping for when TREX is defined, but you never know. --- ghc/interpreter/storage.c | 9 ++++++--- ghc/interpreter/storage.h | 28 ++++++++++------------------ 2 files changed, 16 insertions(+), 21 deletions(-) diff --git a/ghc/interpreter/storage.c b/ghc/interpreter/storage.c index 1ee4eb8..04a9f84 100644 --- a/ghc/interpreter/storage.c +++ b/ghc/interpreter/storage.c @@ -9,8 +9,8 @@ * included in the distribution. * * $RCSfile: storage.c,v $ - * $Revision: 1.22 $ - * $Date: 1999/12/06 16:25:25 $ + * $Revision: 1.23 $ + * $Date: 1999/12/06 16:47:07 $ * ------------------------------------------------------------------------*/ #include "prelude.h" @@ -1841,7 +1841,10 @@ register Cell c; { register Cell fstc = fst(c); return isTag(fstc) ? fstc : AP; } - if (c=INTMIN) return INTCELL; if (c>=NAMEMIN){if (c>=CLASSMIN) {if (c>=CHARMIN) return CHARCELL; diff --git a/ghc/interpreter/storage.h b/ghc/interpreter/storage.h index a81ec69..2ea30db 100644 --- a/ghc/interpreter/storage.h +++ b/ghc/interpreter/storage.h @@ -10,8 +10,8 @@ * included in the distribution. * * $RCSfile: storage.h,v $ - * $Revision: 1.17 $ - * $Date: 1999/12/06 16:25:27 $ + * $Revision: 1.18 $ + * $Date: 1999/12/06 16:47:09 $ * ------------------------------------------------------------------------*/ /* -------------------------------------------------------------------------- @@ -312,7 +312,12 @@ extern Ptr cptrOf Args((Cell)); * ------------------------------------------------------------------------*/ #define SPECMIN 101 -#define isSpec(c) (SPECMIN<=(c) && (c)