From f6ba57ea88bdc30e3f19ca1c8ddd3180377ac219 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 18 Dec 2002 16:15:43 +0000 Subject: [PATCH] [project @ 2002-12-18 16:15:43 by simonmar] Comment fix. --- ghc/compiler/codeGen/CgHeapery.lhs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 -- 1.7.10.4