[project @ 2001-07-23 17:23:19 by simonmar]
[ghc-hetmet.git] / ghc / includes / StgTypes.h
index 6ceb80c..ea0b5ba 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: StgTypes.h,v 1.15 2000/11/07 17:05:47 simonmar Exp $
+ * $Id: StgTypes.h,v 1.16 2001/07/23 17:23:19 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2000
  *
@@ -97,6 +97,8 @@ typedef StgWord32          StgWord;
 #endif
 #endif
 
+#define W_MASK  (sizeof(W_)-1)
+
 typedef void*              StgAddr;
 
 /*