diff options
author | simonmar <unknown> | 2002-08-29 15:44:23 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-08-29 15:44:23 +0000 |
commit | ce9687a5f450014c5596b32de8e8a7b99b6389e8 (patch) | |
tree | 718993a94d5e2b03bae392f4b3b4710814c3c4d8 /ghc/compiler/codeGen/CgStackery.lhs | |
parent | 4a851c8281491a26ce130e6ce4496042e3feb42b (diff) | |
download | haskell-ce9687a5f450014c5596b32de8e8a7b99b6389e8.tar.gz |
[project @ 2002-08-29 15:44:11 by simonmar]
Housekeeping:
- The main goal is to remove dependencies on hslibs for a
bootstrapped compiler, leaving only a requirement that the
packages base, haskell98 and readline are built in stage 1 in
order to bootstrap. We're almost there: Posix is still required
for signal handling, but all other dependencies on hslibs are now
gone.
Uses of Addr and ByteArray/MutableByteArray array are all gone
from the compiler. PrimPacked defines the Ptr type for GHC 4.08
(which didn't have it), and it defines simple BA and MBA types to
replace uses of ByteArray and MutableByteArray respectively.
- Clean up import lists. HsVersions.h now defines macros for some
modules which have moved between GHC versions. eg. one now
imports 'GLAEXTS' to get at unboxed types and primops in the
compiler.
Many import lists have been sorted as per the recommendations in
the new style guidelines in the commentary.
I've built the compiler with GHC 4.08.2, 5.00.2, 5.02.3, 5.04 and
itself, and everything still works here. Doubtless I've got something
wrong, though.
Diffstat (limited to 'ghc/compiler/codeGen/CgStackery.lhs')
-rw-r--r-- | ghc/compiler/codeGen/CgStackery.lhs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ghc/compiler/codeGen/CgStackery.lhs b/ghc/compiler/codeGen/CgStackery.lhs index a75b7e7583..cae8586b7c 100644 --- a/ghc/compiler/codeGen/CgStackery.lhs +++ b/ghc/compiler/codeGen/CgStackery.lhs @@ -1,7 +1,7 @@ % % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998 % -% $Id: CgStackery.lhs,v 1.20 2001/10/03 13:57:42 simonmar Exp $ +% $Id: CgStackery.lhs,v 1.21 2002/08/29 15:44:13 simonmar Exp $ % \section[CgStackery]{Stack management functions} @@ -27,12 +27,10 @@ import AbsCUtils ( mkAbstractCs, getAmodeRep ) import PrimRep ( getPrimRepSize, PrimRep(..), isFollowableRep ) import CmdLineOpts ( opt_SccProfilingOn, opt_GranMacros ) import Panic ( panic ) -import Constants ( uF_SIZE, pROF_UF_SIZE, gRAN_UF_SIZE, - sEQ_FRAME_SIZE, pROF_SEQ_FRAME_SIZE, - gRAN_SEQ_FRAME_SIZE ) - +import Constants import Util ( sortLt ) -import IOExts ( trace ) + +import TRACE ( trace ) \end{code} %************************************************************************ |