SET_ARR_HDR's last argument is now a number of bytes, rather than words
[ghc-hetmet.git] / includes / rts / storage / ClosureMacros.h
index fa6a2a5..aead2ed 100644 (file)
        SET_PROF_HDR((StgClosure *)(c),ccs);            \
    }
 
-#define SET_ARR_HDR(c,info,costCentreStack,n_words)    \
+#define SET_ARR_HDR(c,info,costCentreStack,n_bytes)    \
    SET_HDR(c,info,costCentreStack);                    \
-   (c)->bytes = n_words*sizeof(W_);
+   (c)->bytes = n_bytes;
 
 // Use when changing a closure from one kind to another
 #define OVERWRITE_INFO(c, new_info)                             \