Only inline top level functions that are applied in a let binding.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 30 Mar 2010 14:52:13 +0000 (16:52 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 30 Mar 2010 14:52:13 +0000 (16:52 +0200)
commitb29ff3c525d3d81e73ed153549d5347941f78f8b
tree5626e04110e86a16d01f3bb49b0b7537880338ae
parent832e51575f3361daefd1e0d0c0e25ba7397c2e6a
Only inline top level functions that are applied in a let binding.

This should limit the amount of inlinings that happen a bit, make sure
inlining is only done in later stages of inlining and only when it
actually helps to prevent useless components. This should help to
prevent loops with inlinedict, since dictionary arguments should never
be inlined anymore.
cλash/CLasH/Normalize.hs