[project @ 1996-01-11 14:06:51 by partain]
[ghc-hetmet.git] / ghc / compiler / absCSyn / HeapOffs.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface HeapOffs where
3 import CharSeq(CSeq)
4 import MachDesc(Target)
5 import Maybes(Labda)
6 import Pretty(PprStyle)
7 import SMRep(SMRep)
8 data HeapOffset 
9 type HpRelOffset = HeapOffset
10 type SpARelOffset = Int
11 type SpBRelOffset = Int
12 type VirtualHeapOffset = HeapOffset
13 type VirtualSpAOffset = Int
14 type VirtualSpBOffset = Int
15 addOff :: HeapOffset -> HeapOffset -> HeapOffset
16 fixedHdrSize :: HeapOffset
17 hpRelToInt :: Target -> HeapOffset -> Int
18 intOff :: Int -> HeapOffset
19 intOffsetIntoGoods :: HeapOffset -> Labda Int
20 isZeroOff :: HeapOffset -> Bool
21 maxOff :: HeapOffset -> HeapOffset -> HeapOffset
22 possiblyEqualHeapOffset :: HeapOffset -> HeapOffset -> Bool
23 pprHeapOffset :: PprStyle -> HeapOffset -> CSeq
24 subOff :: HeapOffset -> HeapOffset -> HeapOffset
25 totHdrSize :: SMRep -> HeapOffset
26 varHdrSize :: SMRep -> HeapOffset
27 zeroOff :: HeapOffset
28