From: simonmar Date: Fri, 23 May 2003 08:28:48 +0000 (+0000) Subject: [project @ 2003-05-23 08:28:48 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~871 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d34cca401fa00c7ebbf2085bf5490baf4fa5c0d3 [project @ 2003-05-23 08:28:48 by simonmar] Remove ancient vestiges of StgHugs: the COMPILER #define. --- diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index b515e21..a877e2f 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.50 2002/12/11 15:36:39 simonmar Exp $ + * $Id: Stg.h,v 1.51 2003/05/23 08:28:48 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -78,9 +78,6 @@ # define LAZY_BLACKHOLING #endif -/* ToDo: remove */ -#define COMPILER 1 - /* TABLES_NEXT_TO_CODE says whether to assume that info tables are * assumed to reside just before the code for a function. * diff --git a/ghc/rts/RtsAPI.c b/ghc/rts/RtsAPI.c index b92794c..4f7e783 100644 --- a/ghc/rts/RtsAPI.c +++ b/ghc/rts/RtsAPI.c @@ -1,5 +1,5 @@ /* ---------------------------------------------------------------------------- - * $Id: RtsAPI.c,v 1.43 2003/03/18 10:28:15 simonmar Exp $ + * $Id: RtsAPI.c,v 1.44 2003/05/23 08:28:48 simonmar Exp $ * * (c) The GHC Team, 1998-2001 * @@ -179,7 +179,6 @@ rts_mkFunPtr (HsFunPtr a) return p; } -#ifdef COMPILER /* GHC has em, Hugs doesn't */ HaskellObj rts_mkBool (HsBool b) { @@ -195,7 +194,6 @@ rts_mkString (char *s) { return rts_apply((StgClosure *)unpackCString_closure, rts_mkPtr(s)); } -#endif /* COMPILER */ HaskellObj rts_apply (HaskellObj f, HaskellObj arg) @@ -366,7 +364,6 @@ rts_getFunPtr (HaskellObj p) return (void *)(p->payload[0]); } -#ifdef COMPILER /* GHC has em, Hugs doesn't */ HsBool rts_getBool (HaskellObj p) { @@ -378,7 +375,6 @@ rts_getBool (HaskellObj p) barf("rts_getBool: not a Bool"); } } -#endif /* COMPILER */ /* ---------------------------------------------------------------------------- Evaluating Haskell expressions