Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
ad773dac
Commit
ad773dac
authored
Jul 31, 2008
by
batterseapower
Browse files
Follow Digraph changes in VectType
parent
3771bfe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/vectorise/VectType.hs
View file @
ad773dac
...
...
@@ -33,7 +33,7 @@ import Unique
import
UniqFM
import
UniqSet
import
Util
import
Digraph
(
SCC
(
..
),
stronglyConnComp
)
import
Digraph
(
SCC
(
..
),
stronglyConnComp
FromEdgedVertices
)
import
Outputable
import
FastString
...
...
@@ -979,7 +979,7 @@ classifyTyCons = classify [] []
-- | Compute mutually recursive groups of tycons in topological order
--
tyConGroups
::
[
TyCon
]
->
[
TyConGroup
]
tyConGroups
tcs
=
map
mk_grp
(
stronglyConnComp
edges
)
tyConGroups
tcs
=
map
mk_grp
(
stronglyConnComp
FromEdgedVertices
edges
)
where
edges
=
[((
tc
,
ds
),
tc
,
uniqSetToList
ds
)
|
tc
<-
tcs
,
let
ds
=
tyConsOfTyCon
tc
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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