[project @ 2001-09-11 08:18:16 by simonpj]
[ghc-hetmet.git] / ghc / includes / Constants.h
index bc6b162..5e02a98 100644 (file)
@@ -1,5 +1,5 @@
 /* ----------------------------------------------------------------------------
- * $Id: Constants.h,v 1.13 2000/08/03 11:28:35 simonmar Exp $
+ * $Id: Constants.h,v 1.17 2001/08/01 08:20:33 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
 #define UF_RET         0
 #define UF_SU          1
 #define UF_UPDATEE     2
-#define UF_CCS         3
 
 /* -----------------------------------------------------------------------------
    SEQ frame size
 
 #define MAX_VECTORED_RTN 8
 
-/*---- Range of built-in table of static small int-like closures. */
+/*---- Range of built-in table of static small int-like and char-like closures. */
 
-#define MAX_INTLIKE            (16)
+#define MAX_INTLIKE            16
 #define MIN_INTLIKE            (-16)
 
+#define MAX_CHARLIKE           255
+#define MIN_CHARLIKE           0
+
+/* You can change these constants (I hope) but be sure to modify
+   rts/StgMiscClosures.hs accordingly. */
+
 /*---- Minimum number of words left in heap after GC to carry on */
 
 #define HEAP_HWM_WORDS 1024