projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ed4f07
)
no registers are available after a call
author
Norman Ramsey
<nr@eecs.harvard.edu>
Fri, 7 Sep 2007 17:08:43 +0000
(17:08 +0000)
committer
Norman Ramsey
<nr@eecs.harvard.edu>
Fri, 7 Sep 2007 17:08:43 +0000
(17:08 +0000)
compiler/cmm/CmmSpillReload.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/CmmSpillReload.hs
b/compiler/cmm/CmmSpillReload.hs
index
5601350
..
00372e5
100644
(file)
--- a/
compiler/cmm/CmmSpillReload.hs
+++ b/
compiler/cmm/CmmSpillReload.hs
@@
-265,6
+265,7
@@
middleAvail (NotSpillOrReload m) = middle m
middle (CopyOut {}) = id
lastAvail :: AvailRegs -> Last -> LastOutFacts AvailRegs
+lastAvail _ (LastCall _ _ (Just k)) = LastOutFacts [(k, AvailRegs emptyRegSet)]
lastAvail avail l = LastOutFacts $ map (\id -> (id, avail)) $ succs l