X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FStorage.c;h=367530fcb6a0467b109b9e891b0cc49769e0196b;hb=423d477bfecd490de1449c59325c8776f91d7aac;hp=f13f186ec41151c9b5c171361bffb64f280c0c55;hpb=553e90d9a32ee1b1809430f260c401cc4169c6c7;p=ghc-hetmet.git diff --git a/ghc/rts/Storage.c b/ghc/rts/Storage.c index f13f186..367530f 100644 --- a/ghc/rts/Storage.c +++ b/ghc/rts/Storage.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Storage.c,v 1.83 2004/07/21 10:47:28 simonmar Exp $ + * $Id: Storage.c,v 1.84 2004/08/13 13:11:01 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -22,7 +22,6 @@ #include "Storage.h" #include "Schedule.h" #include "OSThreads.h" -#include "StoragePriv.h" #include "RetainerProfile.h" // for counting memory blocks (memInventory) @@ -621,7 +620,7 @@ stgAllocForGMP (size_t size_in_bytes) SET_ARR_HDR(arr, &stg_ARR_WORDS_info, CCCS, data_size_in_words); /* and return a ptr to the goods inside the array */ - return(BYTE_ARR_CTS(arr)); + return arr->payload; } static void *