X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FStorage.h;h=92a856c96392dc6a9d0b83ff211a987abf92387c;hb=2b52b76bf04d6bcb2f62971126451d9dc5d90871;hp=da24a785ad3c7184a7f138e327bcc4d843c76bb2;hpb=dcecd7a5170b54d06df3f7eb6e8f38585a283a21;p=ghc-hetmet.git diff --git a/includes/Storage.h b/includes/Storage.h index da24a78..92a856c 100644 --- a/includes/Storage.h +++ b/includes/Storage.h @@ -303,7 +303,7 @@ void dirty_MUT_VAR(StgRegTable *reg, StgClosure *p); ((StgInfoTable *)(INFO_PTR_TO_STRUCT(p)))->type < N_CLOSURE_TYPES) #define LOOKS_LIKE_CLOSURE_PTR(p) \ - (LOOKS_LIKE_INFO_PTR(((StgClosure *)(p))->header.info)) + (LOOKS_LIKE_INFO_PTR((UNTAG_CLOSURE((StgClosure *)(p)))->header.info)) /* ----------------------------------------------------------------------------- Macros for calculating how big a closure will be (used during allocation) @@ -458,7 +458,6 @@ INLINE_HEADER StgWord stack_frame_sizeW( StgClosure *frame ) return sizeofW(StgRetFun) + ((StgRetFun *)frame)->size; case RET_BIG: - case RET_VEC_BIG: return 1 + GET_LARGE_BITMAP(&info->i)->size; case RET_BCO: