[project @ 1996-04-30 17:34:02 by partain]
[ghc-hetmet.git] / ghc / compiler / simplCore / OccurAnal.lhs
index 94e9fc6..c6567da 100644 (file)
@@ -33,7 +33,8 @@ import Id             ( idWantsToBeINLINEd, isConstMethodId,
                          GenId{-instance Eq-}
                        )
 import Maybes          ( maybeToBool )
-import Outputable      ( isExported, Outputable(..){-instance * (,) -} )
+import Name            ( isExported )
+import Outputable      ( Outputable(..){-instance * (,) -} )
 import PprCore
 import PprStyle                ( PprStyle(..) )
 import PprType         ( GenType{-instance Outputable-}, GenTyVar{-ditto-} )
@@ -386,6 +387,11 @@ occAnal env (SCC cc body)
   where
     (usage, body') = occAnal env body
 
+occAnal env (Coerce c ty body)
+  = (usage, Coerce c ty body')
+  where
+    (usage, body') = occAnal env body
+
 occAnal env (App fun arg)
   = (fun_usage `combineUsageDetails` arg_usage, App fun' arg)
   where