[project @ 1999-02-23 17:20:34 by sof]
[ghc-hetmet.git] / ghc / includes / Rts.h
index c8dcaae..77f095c 100644 (file)
@@ -1,5 +1,7 @@
 /* -----------------------------------------------------------------------------
- * $Id: Rts.h,v 1.2 1998/12/02 13:21:21 simonm Exp $
+ * $Id: Rts.h,v 1.6 1999/02/05 16:02:27 simonm Exp $
+ *
+ * (c) The GHC Team, 1998-1999
  *
  * Top-level include file for the RTS itself
  *
@@ -46,20 +48,6 @@ typedef enum {
    -------------------------------------------------------------------------- */
 
 #ifndef DEBUG
-#define ASSERT(predicate) /* nothing */
-#else
-
-void _stgAssert (char *, unsigned int);
-
-#define ASSERT(predicate)                      \
-       if (predicate)                          \
-           /*null*/;                           \
-       else                                    \
-           _stgAssert(__FILE__, __LINE__)
-
-#endif /* DEBUG */
-
-#ifndef DEBUG
 #define IF_DEBUG(c,s)  doNothing()
 #else
 #define IF_DEBUG(c,s)  if (RtsFlags.DebugFlags.c) { s; }
@@ -97,7 +85,6 @@ void _stgAssert (char *, unsigned int);
 #define stg_min(a,b) ({typeof(a) _a = (a), _b = (b); _a <= _b ? _a : _b; })
 #define stg_max(a,b) ({typeof(a) _a = (a), _b = (b); _a <= _b ? _b : _a; })
 
-
 #define UNUSED __attribute__((unused))
 
 #endif RTS_H