Move all the CoreToDo stuff into CoreMonad
authorsimonpj@microsoft.com <unknown>
Fri, 18 Dec 2009 16:45:21 +0000 (16:45 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 18 Dec 2009 16:45:21 +0000 (16:45 +0000)
commit63e3a41126771e71c44705480c2bde7043a41df3
tree040ef73be58dbb85c3bcb618c2dd515f0eff9535
parent0c66cc56ac4d42d91bfd9beedabcb988d40d7735
Move all the CoreToDo stuff into CoreMonad

This patch moves a lot of code around, but has zero functionality change.
The idea is that the types

    CoreToDo
    SimplifierSwitch
    SimplifierMode
    FloatOutSwitches

and

    the main core-to-core pipeline construction

belong in simplCore/, and *not* in DynFlags.
compiler/main/DynFlags.hs
compiler/simplCore/CoreMonad.lhs
compiler/simplCore/FloatOut.lhs
compiler/simplCore/SetLevels.lhs
compiler/simplCore/SimplCore.lhs
compiler/simplCore/SimplEnv.lhs
compiler/simplCore/SimplMonad.lhs
compiler/simplCore/SimplUtils.lhs
compiler/simplCore/Simplify.lhs