[project @ 1999-10-18 11:44:20 by kglynn]
authorkglynn <unknown>
Mon, 18 Oct 1999 11:44:20 +0000 (11:44 +0000)
committerkglynn <unknown>
Mon, 18 Oct 1999 11:44:20 +0000 (11:44 +0000)
commitf021fc6f0027142f5fb1bdb725a86ded8008c5e7
treec0825cea2b039d253c05c70fa58c3eeebd2c3163
parent170d1670295c7cb9731f8d0eb034cf21f3e613ee
[project @ 1999-10-18 11:44:20 by kglynn]
The fix to ignore error() cases when doing CPR analysis exposed a
problem with the Void type.  A function that always constructs a void
result was converted to w/w, but the worker was producing an unboxed
tuple with 0 components.  Not good.

Fixed so that constructing a void gives CPR value Top.  This is OK
because we won't really be constructing a void each time, we will be
returning a pointer to a shared void cell.
ghc/compiler/cprAnalysis/CprAnalyse.lhs