Inline BasicTypes.CompilerPhase tysyn to workaround
Outputable <--> BasicTypes module loop.
import GlaExts
import IOExts ( IORef, readIORef, writeIORef )
-import BasicTypes ( CompilerPhase )
import Constants -- Default values for some flags
import Util
import FastTypes
| CoreDoCPResult
| CoreDoGlomBinds
| CoreCSE
- | CoreDoRuleCheck CompilerPhase String -- Check for non-application of rules
+ | CoreDoRuleCheck Int{-CompilerPhase-} String -- Check for non-application of rules
-- matching this string
| CoreDoNothing -- useful when building up lists of these things