[project @ 2003-04-01 15:28:20 by sof]
authorsof <unknown>
Tue, 1 Apr 2003 15:28:21 +0000 (15:28 +0000)
committersof <unknown>
Tue, 1 Apr 2003 15:28:21 +0000 (15:28 +0000)
commit1d87bd263e2d7cbaf08fed9c5ee2edba8124e4ea
treeba79411ce1bd75f024438c88dee24f2602886240
parentc49a6ca90100722cd6942322d32b64b4142a08a7
[project @ 2003-04-01 15:28:20 by sof]
Have Literal.Literal support the representation of NULL pointers only,
and not arbitrary pointer values.

(MachAddr <some-pointer-value-as-an-Integer>) wasn't being used,
except to handle nullAddr#. It (MachAddr) is a potential source of
problems should the compiler start doing constant folding or other
interesting operations over MachAddrs (think: interface files +
cross-compilation), so we might as well scale back the representation
of raw pointer values.
ghc/compiler/basicTypes/Literal.lhs
ghc/compiler/coreSyn/MkExternalCore.lhs
ghc/compiler/ilxGen/IlxGen.lhs
ghc/compiler/nativeGen/StixPrim.lhs