NCG: Fix Typo in Register Allocator Loop Patch
authorwolfgang.thaller@gmx.net <unknown>
Sat, 25 Feb 2006 03:39:54 +0000 (03:39 +0000)
committerwolfgang.thaller@gmx.net <unknown>
Sat, 25 Feb 2006 03:39:54 +0000 (03:39 +0000)
Fix previous patch "NCG: Handle loops in register allocator"
Of course, I broke it when correcting a style problem just before committing.

ghc/compiler/nativeGen/RegisterAlloc.hs

index 669000d..7d2ab1b 100644 (file)
@@ -341,7 +341,7 @@ computeLiveness sccs
 
 
               linearLiveness :: BlockMap RegSet -> [NatBasicBlock]
-                             -> (BlockMap RegSet, AnnBasicBlock])
+                             -> (BlockMap RegSet, [AnnBasicBlock])
               linearLiveness = mapAccumL processBlock
 
              processBlock blockmap input@(BasicBlock block_id instrs)