[project @ 1997-08-25 21:00:15 by sof]
authorsof <unknown>
Mon, 25 Aug 1997 21:00:20 +0000 (21:00 +0000)
committersof <unknown>
Mon, 25 Aug 1997 21:00:20 +0000 (21:00 +0000)
COMPILING_GHC renamed to COMPILING_NCG

ghc/includes/GranSim.lh
ghc/includes/MachRegs.lh
ghc/includes/SMInfoTables.lh
ghc/includes/error.h

index ea92718..6714355 100644 (file)
@@ -40,7 +40,7 @@ ullong msTime(STG_NO_ARGS);
 
 #if defined(GRAN)
 
-#if !defined(COMPILING_GHC)
+#if !defined(COMPILING_NCG)
 #include "RtsFlags.h"
 #endif
 
index 03cf6e6..ccdccd1 100644 (file)
@@ -9,7 +9,7 @@ NB: THIS FILE IS INCLUDED IN HASKELL SOURCE!
 #ifndef MACHREGS_H
 #define MACHREGS_H
 
-#if defined(__STG_GCC_REGS__) || defined(COMPILING_GHC)
+#if defined(__STG_GCC_REGS__) || defined(COMPILING_NCG)
 
 #include "StgMachDeps.h"
 
@@ -918,7 +918,7 @@ discretion being the better part of valor, we also don't take
 Concluding multi-slurp protection:
 \begin{code}
 
-#endif /* __STG_GCC_REGS__ || COMPILING_GHC */
+#endif /* __STG_GCC_REGS__ || COMPILING_NCG */
 
 #endif /* MACHREGS_H */
 \end{code}
index bcc65eb..5798bec 100644 (file)
@@ -197,7 +197,7 @@ use extern declarations almost everywhere except for the single module
 (\tr{Rep.lc}) in which the rep tables are declared locally.
 
 \begin{code}
-#if defined(COMPILING_REP_LC) || defined(COMPILING_GHC)
+#if defined(COMPILING_REP_LC) || defined(COMPILING_NCG)
 # define MAYBE_DECLARE_RTBL(l,s,p)
 #else
 # define MAYBE_DECLARE_RTBL(l,s,p)     EXTDATA_RO(MK_REP_REF(l,s,p));
@@ -613,7 +613,7 @@ specialised marking code.
 # define INFO_MARKED_1S(infoptr)       (((FP_)(INFO_RTBL(infoptr)))[COMPACTING_INFO_OFFSET+3])
 # define INFO_MARKING_1S(infoptr)      (((FP_)(INFO_RTBL(infoptr)))[COMPACTING_INFO_OFFSET+4])
 
-#ifndef COMPILING_GHC
+#ifndef COMPILING_NCG
 extern F_ _Dummy_Static_entry(STG_NO_ARGS);
 extern F_ _Dummy_Ind_entry(STG_NO_ARGS);
 extern F_ _Dummy_Caf_entry(STG_NO_ARGS);
@@ -1165,7 +1165,7 @@ MAYBE_DECLARE_RTBL(Data,,)
     }
 
 /* Here is the decl for the only DATA info table used! */
-#ifndef COMPILING_GHC
+#ifndef COMPILING_NCG
 EXTDATA_RO(ArrayOfData_info);
 #endif
 \end{code}
@@ -1237,7 +1237,7 @@ MAYBE_DECLARE_RTBL(ImmuTuple,,)
 #endif
 
 /* Here are the decls for the only MUTUPLE info tables used. */
-#ifndef COMPILING_GHC
+#ifndef COMPILING_NCG
 EXTDATA_RO(ArrayOfPtrs_info);
 EXTDATA_RO(ImMutArrayOfPtrs_info);
 EXTDATA_RO(EmptySVar_info);
@@ -1745,7 +1745,7 @@ during a return.
     }
 
 /* Declare the phantom info table vectors (just Bool at the moment) */
-#ifndef COMPILING_GHC
+#ifndef COMPILING_NCG
 #ifndef aix_TARGET_OS /* AIX gives link errors with this as a const (RO assembler section) */
 EXTDATA_RO(PrelBase_Bool_itblvtbl);
 #else
index fe12ee6..a49bc00 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined(COMPILING_GHC) && !defined(__GLASGOW_HASKELL__)
+#if !defined(COMPILING_NCG) && !defined(__GLASGOW_HASKELL__)
 extern int ghc_errno;
 extern int ghc_errtype;
 extern char *ghc_errstr;