[project @ 1999-07-07 15:27:27 by simonmar]
authorsimonmar <unknown>
Wed, 7 Jul 1999 15:27:27 +0000 (15:27 +0000)
committersimonmar <unknown>
Wed, 7 Jul 1999 15:27:27 +0000 (15:27 +0000)
commit65284c9655167101ad716863bc8db5cc8ad76a2b
tree1cd1d076ea257adc43e15653912688cf83a923c7
parent69a603fbd27cb7286f154ee7d113e2dbcc0f80c0
[project @ 1999-07-07 15:27:27 by simonmar]
- charge 1 for a case expression

- give a discount of opt_UF_ScrutConDiscount each time a constructor
  is scrutinised

(previously a case expression was not charged for at all, and the
discount for a scrutinised constructor was (opt_UF_ScrutConDiscount *
tyconFamilySize).  In 4.02, a case expression was also charged
tyconFamilySize to balance the discount, but this had the disadvantage
of charging for alternatives which may not be present in the actual
case expression).
ghc/compiler/coreSyn/CoreUnfold.lhs