projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NCG: Allow the liveness map in a LiveInfo to be Nothing
[ghc-hetmet.git]
/
compiler
/
nativeGen
/
RegAlloc
/
Linear
/
Main.hs
diff --git
a/compiler/nativeGen/RegAlloc/Linear/Main.hs
b/compiler/nativeGen/RegAlloc/Linear/Main.hs
index
7201207
..
3eab785
100644
(file)
--- a/
compiler/nativeGen/RegAlloc/Linear/Main.hs
+++ b/
compiler/nativeGen/RegAlloc/Linear/Main.hs
@@
-137,7
+137,7
@@
regAlloc (CmmProc (LiveInfo info _ _) lbl params (ListGraph []))
, Nothing )
regAlloc (CmmProc static lbl params (ListGraph comps))
, 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)
= do
-- do register allocation on each component.
(final_blocks, stats)