Fix warnings
authorbenl@ouroborus.net <unknown>
Thu, 24 Jun 2010 09:13:39 +0000 (09:13 +0000)
committerbenl@ouroborus.net <unknown>
Thu, 24 Jun 2010 09:13:39 +0000 (09:13 +0000)
compiler/nativeGen/RegAlloc/Liveness.hs

index cc1bf12..d7659b5 100644 (file)
@@ -686,7 +686,7 @@ checkIsReverseDependent
 checkIsReverseDependent sccs'
  = go emptyUniqSet sccs'
 
- where         go blockssSeen []
+ where         go _ []
         = Nothing
        
        go blocksSeen (AcyclicSCC block : sccs)
@@ -705,7 +705,7 @@ checkIsReverseDependent sccs'
                 []             -> go blocksSeen' sccs
                 bad : _        -> Just bad
                
-       slurpJumpDestsOfBlock (BasicBlock blockId instrs)
+       slurpJumpDestsOfBlock (BasicBlock _ instrs)
                = unionManyUniqSets
                $ map (mkUniqSet . jumpDestsOfInstr) 
                        [ i | LiveInstr i _ <- instrs]