X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FsimplStg%2FSRT.lhs;h=fed0a64a6bd3d3e2f42ac85b0aa2928dc2f88286;hp=eb3229f1962d674ed50fc1cb854474a2105de778;hb=17b297d97d327620ed6bfab942f8992b2446f1bf;hpb=d5934bbb856aa0aa620c9b2e0fa51c90a1a5a048 diff --git a/compiler/simplStg/SRT.lhs b/compiler/simplStg/SRT.lhs index eb3229f..fed0a64 100644 --- a/compiler/simplStg/SRT.lhs +++ b/compiler/simplStg/SRT.lhs @@ -7,6 +7,13 @@ each let-binding. At the same time, we figure out which top-level bindings have no CAF references, and record the fact in their IdInfo. \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module SRT( computeSRTs ) where #include "HsVersions.h" @@ -15,9 +22,7 @@ import StgSyn import Id ( Id ) import VarSet import VarEnv -import Util ( sortLe ) -import Maybes ( orElse ) -import Maybes ( expectJust ) +import Maybes ( orElse, expectJust ) import Bitmap ( intsToBitmap ) #ifdef DEBUG @@ -27,7 +32,6 @@ import Outputable import List import Util -import Outputable \end{code} \begin{code}