projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code simplifications due to call/return separation; some improvements to how node...
[ghc-hetmet.git]
/
compiler
/
cmm
/
CmmProcPointZ.hs
diff --git
a/compiler/cmm/CmmProcPointZ.hs
b/compiler/cmm/CmmProcPointZ.hs
index
5ec65c5
..
60d6ce1
100644
(file)
--- a/
compiler/cmm/CmmProcPointZ.hs
+++ b/
compiler/cmm/CmmProcPointZ.hs
@@
-329,7
+329,7
@@
add_CopyIns callPPs protos blocks =
= case lookupBlockEnv protos id of
Just (Protocol c fs _area) ->
do LGraph _ blocks <-
= case lookupBlockEnv protos id of
Just (Protocol c fs _area) ->
do LGraph _ blocks <-
- lgraphOfAGraph (mkLabel id <*> copyInSlot c False fs <*> mkZTail t)
+ lgraphOfAGraph (mkLabel id <*> copyInSlot c fs <*> mkZTail t)
return (map snd $ blockEnvToList blocks)
Nothing -> return [b]
| otherwise = return [b]
return (map snd $ blockEnvToList blocks)
Nothing -> return [b]
| otherwise = return [b]
@@
-356,8
+356,7
@@
add_CopyOuts protos procPoints g = fold_blocks mb_copy_out (return emptyBlockEnv
if elemBlockSet succId procPoints then
case lookupBlockEnv protos succId of
Nothing -> z
if elemBlockSet succId procPoints then
case lookupBlockEnv protos succId of
Nothing -> z
- Just (Protocol c fs _area) ->
- insert z succId $ copyOutSlot c Jump fs
+ Just (Protocol c fs _area) -> insert z succId $ copyOutSlot c fs
else z
insert z succId m =
do (b, bmap) <- z
else z
insert z succId m =
do (b, bmap) <- z