NCG: Allow the liveness map in a LiveInfo to be Nothing
[ghc-hetmet.git] / compiler / nativeGen / RegAlloc / Linear / Main.hs
index 7201207..3eab785 100644 (file)
@@ -137,7 +137,7 @@ regAlloc (CmmProc (LiveInfo info _ _) lbl params (ListGraph []))
                 , Nothing )
        
 regAlloc (CmmProc static lbl params (ListGraph comps))
-       | LiveInfo info (Just first_id) block_live      <- static
+       | LiveInfo info (Just first_id) (Just block_live)       <- static
        = do    
                -- do register allocation on each component.
                (final_blocks, stats)