/* ----------------------------------------------------------------------------
- * $Id: Constants.h,v 1.3 1999/01/21 10:31:41 simonm Exp $
+ * $Id: Constants.h,v 1.7 1999/10/27 09:58:36 simonmar Exp $
+ *
+ * (c) The GHC Team, 1998-1999
*
* Constants
*
#define MAX_SPEC_AP_SIZE 8
+/* Specialised FUN/THUNK/CONSTR closure types */
+
+#define MAX_SPEC_THUNK_SIZE 2
+#define MAX_SPEC_FUN_SIZE 2
+#define MAX_SPEC_CONSTR_SIZE 2
+
/* -----------------------------------------------------------------------------
Update Frame Layout
-------------------------------------------------------------------------- */
#define NOSCC_UF_SIZE 3
#define SCC_UF_SIZE 4
-#if defined(PROFILING)
-#define UF_SIZE SCC_UF_SIZE
-#else
-#define UF_SIZE NOSCC_UF_SIZE
-#endif
-
#define UF_RET 0
#define UF_SU 1
#define UF_UPDATEE 2
/* -----------------------------------------------------------------------------
SEQ frame size
+
+ I don't think seq frames really need sccs --SDM
-------------------------------------------------------------------------- */
-#if defined(PROFILING)
-#define SEQ_FRAME_SIZE 3
-#else
-#define SEQ_FRAME_SIZE 2
-#endif
+#define NOSCC_SEQ_FRAME_SIZE 2
+#define SCC_SEQ_FRAME_SIZE 3
/* -----------------------------------------------------------------------------
STG Registers.
-------------------------------------------------------------------------- */
/* The size of a block */
-#define BLOCK_SIZE 0x2000
-#define BLOCK_SHIFT 13
+#define BLOCK_SIZE 0x1000
+#define BLOCK_SHIFT 12
/* The size of a megablock */
#define MBLOCK_SIZE 0x100000