From d842ff85f0325a5c02460d8089ab919cc664bad3 Mon Sep 17 00:00:00 2001 From: simonpj Date: Tue, 5 Aug 2003 14:01:34 +0000 Subject: [PATCH] [project @ 2003-08-05 14:01:34 by simonpj] Add another comment --- ghc/includes/StgMacros.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ghc/includes/StgMacros.h b/ghc/includes/StgMacros.h index 8ac041a..4a5a985 100644 --- a/ghc/includes/StgMacros.h +++ b/ghc/includes/StgMacros.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgMacros.h,v 1.55 2003/07/31 10:07:02 simonmar Exp $ + * $Id: StgMacros.h,v 1.56 2003/08/05 14:01:34 simonpj Exp $ * * (c) The GHC Team, 1998-1999 * @@ -447,6 +447,11 @@ EXTFUN_RTS(stg_gen_block); // // This looks like it can't work - we're overwriting the contents of // the THUNK with slop! Perhaps this never worked??? --SDM +// The problem is that with eager-black-holing we currently perform +// the black-holing operation at the *beginning* of the basic block, +// when we still need the contents of the thunk. +// Perhaps the thing to do is to overwrite it at the *end* of the +// basic block, when we've already sucked out the thunk's contents? -- SLPJ // // Todo: maybe use SET_HDR() and remove LDV_recordCreate()? // -- 1.7.10.4