Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
27241cd4
Commit
27241cd4
authored
Jul 31, 2008
by
batterseapower
Browse files
Follow Digraph changes in RegLiveness
parent
987530c1
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/nativeGen/RegLiveness.hs
View file @
27241cd4
...
...
@@ -502,7 +502,7 @@ regLiveness (CmmProc info lbl params (ListGraph blocks@(first : _)))
sccBlocks
::
[
NatBasicBlock
]
->
[
SCC
NatBasicBlock
]
sccBlocks
blocks
=
stronglyConnComp
graph
sccBlocks
blocks
=
stronglyConnComp
FromEdgedVertices
graph
where
getOutEdges
::
[
Instr
]
->
[
BlockId
]
getOutEdges
instrs
=
foldl'
(
\
a
x
->
jumpDests
x
a
)
[]
instrs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment