From: simonmar Date: Thu, 31 Jul 2003 10:07:02 +0000 (+0000) Subject: [project @ 2003-07-31 10:07:02 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~607 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=b4d450f9b355d1b27ec00e90b88f9f0aece58c5e;p=ghc-hetmet.git [project @ 2003-07-31 10:07:02 by simonmar] Add comment about the LDV code in UPD_DB_UPDATABLE when EAGER_BLACKHOLING is no - it looks like it can't possibly work to me. --- diff --git a/ghc/includes/StgMacros.h b/ghc/includes/StgMacros.h index 473a590..8ac041a 100644 --- a/ghc/includes/StgMacros.h +++ b/ghc/includes/StgMacros.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgMacros.h,v 1.54 2003/07/28 16:05:36 simonmar Exp $ + * $Id: StgMacros.h,v 1.55 2003/07/31 10:07:02 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -445,6 +445,9 @@ EXTFUN_RTS(stg_gen_block); # else // An object is replaced by a blackhole, so we fill the slop with zeros. // +// This looks like it can't work - we're overwriting the contents of +// the THUNK with slop! Perhaps this never worked??? --SDM +// // Todo: maybe use SET_HDR() and remove LDV_recordCreate()? // # define UPD_BH_UPDATABLE(info) \