From b4d450f9b355d1b27ec00e90b88f9f0aece58c5e Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 31 Jul 2003 10:07:02 +0000 Subject: [PATCH] [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. --- ghc/includes/StgMacros.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) \ -- 1.7.10.4