Skip to content
GitLab
Menu
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
3e3498ad
Commit
3e3498ad
authored
Mar 22, 2011
by
Edward Z. Yang
Browse files
RednCounts can contain CAFs, so support them in cvtToClosureLbl.
parent
cb5260d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/cmm/CLabel.hs
View file @
3e3498ad
...
...
@@ -556,6 +556,7 @@ entryLblToInfoLbl l
cvtToClosureLbl
(
IdLabel
n
c
InfoTable
)
=
IdLabel
n
c
Closure
cvtToClosureLbl
(
IdLabel
n
c
Entry
)
=
IdLabel
n
c
Closure
cvtToClosureLbl
(
IdLabel
n
c
ConEntry
)
=
IdLabel
n
c
Closure
cvtToClosureLbl
(
IdLabel
n
c
RednCounts
)
=
IdLabel
n
c
Closure
cvtToClosureLbl
l
@
(
IdLabel
n
c
Closure
)
=
l
cvtToClosureLbl
l
=
pprPanic
"cvtToClosureLbl"
(
pprCLabel
l
)
...
...
Write
Preview
Supports
Markdown
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