X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fcmm%2FCmm.hs;fp=compiler%2Fcmm%2FCmm.hs;h=38dc5b3ba5bea44fe466bdd495f8a94d973614e0;hp=2d13c45ba71d97114f26ac834ad36c97839c38b0;hb=0d80489c9b9f2421f65d8dd86c1e50c6bb429715;hpb=724a9e83f9498382e3580d26a7dd7cd6b108408c diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs index 2d13c45..38dc5b3 100644 --- a/compiler/cmm/Cmm.hs +++ b/compiler/cmm/Cmm.hs @@ -23,14 +23,11 @@ module Cmm ( CmmCallTarget(..), CmmStatic(..), Section(..), module CmmExpr, - - BlockId(..), mkBlockId, - BlockEnv, emptyBlockEnv, lookupBlockEnv, extendBlockEnv, mkBlockEnv, - BlockSet, emptyBlockSet, elemBlockSet, extendBlockSet, ) where #include "HsVersions.h" +import BlockId import CmmExpr import MachOp import CLabel @@ -42,10 +39,6 @@ import FastString import Data.Word -import StackSlot ( BlockId(..), mkBlockId - , BlockEnv, emptyBlockEnv, lookupBlockEnv, extendBlockEnv, mkBlockEnv - , BlockSet, emptyBlockSet, elemBlockSet, extendBlockSet - ) -- A [[BlockId]] is a local label. -- Local labels must be unique within an entire compilation unit, not @@ -277,7 +270,6 @@ instance UserOfLocalRegs CmmCallTarget where instance DefinerOfLocalRegs a => DefinerOfLocalRegs (CmmKinded a) where foldRegsDefd f z (CmmKinded x _) = foldRegsDefd f z x - --just look like a tuple, since it was a tuple before -- ... is that a good idea? --Isaac Dupree instance (Outputable a) => Outputable (CmmKinded a) where