/* ----------------------------------------------------------------------------
- * $Id: InfoMacros.h,v 1.16 2001/07/24 05:04:58 ken Exp $
+ * $Id: InfoMacros.h,v 1.18 2002/02/26 05:03:27 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
#define PROF_INFO(type_str, desc_str)
#endif
+/* Why no empty array initializer in the 'else' branch? sof 2/02 */
#ifdef USE_MINIINTERPRETER
-#define INIT_VECTOR {}
+#define INIT_VECTOR vector : {}
#else
#define INIT_VECTOR
#endif
static const StgSRT lbl = {
#define BITMAP(lbl,size,contents) \
- static const StgLargeBitmap lbl = { size, { contents } };
+ static const StgLargeBitmap lbl = { \
+ (size*4+SIZEOF_VOID_P-1)/SIZEOF_VOID_P, { contents } };
#if SIZEOF_VOID_P == 8
#define BITMAP_SWITCH64(small, large) small