Some refactoring of SpecConstr
authorsimonpj@microsoft.com <unknown>
Tue, 1 Feb 2011 12:28:41 +0000 (12:28 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 1 Feb 2011 12:28:41 +0000 (12:28 +0000)
commit8287e2325f56a6ce7f855f4aeb1e975f64717720
treeaf8950cbbc1064e8c4b73cb08809ffc19a8852de
parent46ff3d8caded776ab471d3682258147e42be8f14
Some refactoring of SpecConstr

This was originally to improve the case when SpecConstr generated a
function with an unused argument (see Trac #4941), but I ended up
giving up on that.  But the refactoring is still an improvement.

In particular I got rid of BothOcc, which was unused.
compiler/specialise/SpecConstr.lhs