From: simonmar Date: Wed, 18 Dec 2002 16:15:43 +0000 (+0000) Subject: [project @ 2002-12-18 16:15:43 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1336 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f6ba57ea88bdc30e3f19ca1c8ddd3180377ac219;p=ghc-hetmet.git [project @ 2002-12-18 16:15:43 by simonmar] Comment fix. --- diff --git a/ghc/compiler/codeGen/CgHeapery.lhs b/ghc/compiler/codeGen/CgHeapery.lhs index cf10655..8a224f4 100644 --- a/ghc/compiler/codeGen/CgHeapery.lhs +++ b/ghc/compiler/codeGen/CgHeapery.lhs @@ -1,7 +1,7 @@ % % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998 % -% $Id: CgHeapery.lhs,v 1.35 2002/12/11 15:36:26 simonmar Exp $ +% $Id: CgHeapery.lhs,v 1.36 2002/12/18 16:15:43 simonmar Exp $ % \section[CgHeapery]{Heap management functions} @@ -154,12 +154,9 @@ heap-check code for these cases. For unboxed tuple returns, there are an arbitrary number of possibly unboxed return values, some of which will be in registers, and the -others will be on the stack, with gaps left for tagging the unboxed -objects. If a heap check is required, we need to fill in these tags. - -The code below will cover all cases for the x86 architecture (where R1 -is the only VanillaReg ever used). For other architectures, we'll -have to do something about saving and restoring the other registers. +others will be on the stack. We always organise the stack-resident +fields into pointers & non-pointers, and pass the number of each to +the heap check code. \begin{code} altHeapCheck