X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FsimplStg%2FSRT.lhs;h=59ce71c89a0732947e1b55834e4a24099d8fc337;hb=0c45d82423fcff64b43b95ab4882b26e7de560bf;hp=eb3229f1962d674ed50fc1cb854474a2105de778;hpb=d5934bbb856aa0aa620c9b2e0fa51c90a1a5a048;p=ghc-hetmet.git diff --git a/compiler/simplStg/SRT.lhs b/compiler/simplStg/SRT.lhs index eb3229f..59ce71c 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 -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/Commentary/CodingStyle#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}