projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warnings
[ghc-hetmet.git]
/
compiler
/
nativeGen
/
RegAlloc
/
Liveness.hs
diff --git
a/compiler/nativeGen/RegAlloc/Liveness.hs
b/compiler/nativeGen/RegAlloc/Liveness.hs
index
cc1bf12
..
d7659b5
100644
(file)
--- a/
compiler/nativeGen/RegAlloc/Liveness.hs
+++ b/
compiler/nativeGen/RegAlloc/Liveness.hs
@@
-686,7
+686,7
@@
checkIsReverseDependent
checkIsReverseDependent sccs'
= go emptyUniqSet sccs'
checkIsReverseDependent sccs'
= go emptyUniqSet sccs'
- where go blockssSeen []
+ where go _ []
= Nothing
go blocksSeen (AcyclicSCC block : sccs)
= Nothing
go blocksSeen (AcyclicSCC block : sccs)
@@
-705,7
+705,7
@@
checkIsReverseDependent sccs'
[] -> go blocksSeen' sccs
bad : _ -> Just bad
[] -> go blocksSeen' sccs
bad : _ -> Just bad
- slurpJumpDestsOfBlock (BasicBlock blockId instrs)
+ slurpJumpDestsOfBlock (BasicBlock _ instrs)
= unionManyUniqSets
$ map (mkUniqSet . jumpDestsOfInstr)
[ i | LiveInstr i _ <- instrs]
= unionManyUniqSets
$ map (mkUniqSet . jumpDestsOfInstr)
[ i | LiveInstr i _ <- instrs]