X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2FsimplStg%2FSRT.lhs;h=0081c95e0d61681e0aab93059fa01925c00bdb21;hb=b1ab4b8a607addc4d097588db5761313c996a41f;hp=cd118d70922bf0957030cb44eab6682ad417fd55;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/simplStg/SRT.lhs b/compiler/simplStg/SRT.lhs index cd118d7..0081c95 100644 --- a/compiler/simplStg/SRT.lhs +++ b/compiler/simplStg/SRT.lhs @@ -15,9 +15,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 +25,6 @@ import Outputable import List import Util -import Outputable \end{code} \begin{code} @@ -116,6 +113,8 @@ srtExpr table e@(StgOpApp op args ty) = e srtExpr table (StgSCC cc expr) = StgSCC cc $! srtExpr table expr +srtExpr table (StgTick m n expr) = StgTick m n $! srtExpr table expr + srtExpr table (StgCase scrut live1 live2 uniq srt alt_type alts) = StgCase expr' live1 live2 uniq srt' alt_type alts' where