From: sewardj Date: Mon, 6 Dec 1999 16:47:09 +0000 (+0000) Subject: [project @ 1999-12-06 16:47:07 by sewardj] X-Git-Tag: Approximately_9120_patches~5422 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0e0bde9e3a8f6bd77904f789bfe7082548ed5214;p=ghc-hetmet.git [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. --- 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)