Restructure the top level inlining transformation.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 10 Mar 2010 15:05:56 +0000 (16:05 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 10 Mar 2010 15:05:56 +0000 (16:05 +0100)
commitb603a1b76fc2bf27e9f194b09206c00d073aabb6
treecc25cd9b75f95b30cdc46b9d586e0c98ddef4f7e
parentbe3494f72d858395809d4c0073bb51df628b0dac
Restructure the top level inlining transformation.

It now checks to see if the original (non-normalized) body is already
simple and only resorts to normalizing if the original body isn't simple
already. This should speed things up a bit, also because inlining the
normalized body probably needs some extra cleanups.
cλash/CLasH/Normalize.hs