Charge 1 for each case alternative in exprStats
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 13 Feb 2013 08:52:06 +0000 (08:52 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 13 Feb 2013 08:52:06 +0000 (08:52 +0000)
commitf525c0b242816abe26c6b5f81b8d677fd595bebd
tree30c02e4292c4a91edfd83ee6f7f05bce3d1ee2ec
parent24ec956e25a9ae15d33d0c38262d227fba57ec8c
Charge 1 for each case alternative in exprStats

This doesn't affect inlining, only the stats reported by -dshow-passes.
But we were getting un-naturally small numbers for some big case expressions.
compiler/coreSyn/CoreUtils.lhs