From: simonpj Date: Tue, 5 Aug 2003 14:01:34 +0000 (+0000) Subject: [project @ 2003-08-05 14:01:34 by simonpj] X-Git-Tag: Approx_11550_changesets_converted~595 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=d842ff85f0325a5c02460d8089ab919cc664bad3;p=ghc-hetmet.git [project @ 2003-08-05 14:01:34 by simonpj] Add another comment --- 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()? //