TickBox representation change
authorandy@galois.com <unknown>
Wed, 29 Nov 2006 22:09:57 +0000 (22:09 +0000)
committerandy@galois.com <unknown>
Wed, 29 Nov 2006 22:09:57 +0000 (22:09 +0000)
commit8100cd4395e46ae747be4298c181a4730d6206bc
treef9f3d4790bcb3fd466888f27fb1ccbea2690e507
parent859001105a5cbb15959f04519911da86e597f2e1
TickBox representation change

This changes the internal representation of TickBoxes,
from
        Note (TickBox "module" n)  <expr>
into

        case tick<module,n> of
          _ -> <expr>

tick has type :: #State #World, when the module and tick numbe
are stored inside IdInfo.

Binary tick boxes change from

         Note (BinaryTickBox "module" t f) <expr>

into

          btick<module,t,f> <expr>

btick has type :: Bool -> Bool, with the module and tick number
stored inside IdInfo.
19 files changed:
compiler/basicTypes/Id.lhs
compiler/basicTypes/IdInfo.lhs
compiler/basicTypes/MkId.lhs
compiler/basicTypes/Name.lhs
compiler/coreSyn/CorePrep.lhs
compiler/coreSyn/CoreSyn.lhs
compiler/coreSyn/CoreUtils.lhs
compiler/coreSyn/PprCore.lhs
compiler/deSugar/Coverage.lhs
compiler/deSugar/DsUtils.lhs
compiler/iface/BinIface.hs
compiler/iface/IfaceSyn.lhs
compiler/iface/MkIface.lhs
compiler/iface/TcIface.lhs
compiler/main/DynFlags.hs
compiler/main/TidyPgm.lhs
compiler/simplCore/FloatIn.lhs
compiler/simplCore/Simplify.lhs
compiler/stgSyn/CoreToStg.lhs