[project @ 2000-07-02 18:59:10 by panne]
authorpanne <unknown>
Sun, 2 Jul 2000 18:59:10 +0000 (18:59 +0000)
committerpanne <unknown>
Sun, 2 Jul 2000 18:59:10 +0000 (18:59 +0000)
commit2a0ffd1c424b2c076506841a55fa6f45d85329bb
tree4f806fab16591f38c8c98df83d5284cf0b963039
parentd781517f7a6f2db7d7a009f96376378d050c02ab
[project @ 2000-07-02 18:59:10 by panne]
Don't use addr2Integer for large integral literals anymore, use a
Horner schema with numbers in the Int range instead. This improves
constant folding, so e.g.  (0x87654321 :: Word32) is evaluated at
compile time now. In theory we can completely say Good-bye to
addr2Integer, but for the time being it's still there. Feel free to
nuke it...  >:-)
ghc/compiler/basicTypes/Literal.lhs
ghc/compiler/rename/RnExpr.lhs