Eliminate duplicate code in Cmm pipeline
authorJan Stolarek <jan.stolarek@p.lodz.pl>
Mon, 3 Feb 2014 11:26:14 +0000 (12:26 +0100)
committerJan Stolarek <jan.stolarek@p.lodz.pl>
Mon, 3 Feb 2014 13:18:56 +0000 (14:18 +0100)
commitdba9bf6723472eaf4be4813a6ca5ed910e33395d
treeb1ecbd4cd02179c990eb29ef285bad5533bd8b82
parent526cbc7a415eb467adbc13e55a80d8a5abbd02ba
Eliminate duplicate code in Cmm pipeline

End of Cmm pipeline used to be split into two alternative flows,
depending on whether we did proc-point splitting or not. There
was a lot of code duplication between these two branches. But it
wasn't really necessary as the differences can be easily enclosed
within an if-then-else. I observed no impact of this change on
compilation performance.
compiler/cmm/CmmPipeline.hs