Commit 088fa949 authored by batterseapower's avatar batterseapower
Browse files

Document CgUtils, follow Digraph changes

parent 9d93bcd0
...@@ -439,7 +439,7 @@ get_Regtable_addr_from_offset rep offset = ...@@ -439,7 +439,7 @@ get_Regtable_addr_from_offset rep offset =
#endif #endif
-- | Returns 'True' if this global register is stored in a caller-saves -- | Returns @True@ if this global register is stored in a caller-saves
-- machine register. -- machine register.
callerSaves :: GlobalReg -> Bool callerSaves :: GlobalReg -> Bool
...@@ -904,7 +904,7 @@ doSimultaneously1 vertices ...@@ -904,7 +904,7 @@ doSimultaneously1 vertices
edges_from stmt1 = [ key2 | (key2, stmt2) <- vertices, edges_from stmt1 = [ key2 | (key2, stmt2) <- vertices,
stmt1 `mustFollow` stmt2 stmt1 `mustFollow` stmt2
] ]
components = stronglyConnComp edges components = stronglyConnCompFromEdgedVertices edges
-- do_components deal with one strongly-connected component -- do_components deal with one strongly-connected component
-- Not cyclic, or singleton? Just do it -- Not cyclic, or singleton? Just do it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment