Retain unfoldings even with SimplGently
authorsimonpj@microsoft.com <unknown>
Fri, 5 Sep 2008 17:18:14 +0000 (17:18 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 5 Sep 2008 17:18:14 +0000 (17:18 +0000)
commitcef4b33c4155f4225035fdae17bc410d229c805e
tree830478342eb4dd67fb993d18e6383562dd2ba4e1
parent3444b48ef7644c235d7f164f8837090dc30c23bb
Retain unfoldings even with SimplGently

When binding x = e, we now attach an unfolding to 'x' even if
it won't be used because SimplGently is on.

Reason: the specialiser runs right after SimplGently, and it (now)
only gathers call information for calls whose dictionary arguments are
"interesting" -- i.e. have an unfolding of some kind.
compiler/simplCore/Simplify.lhs