projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5260d
)
RednCounts can contain CAFs, so support them in cvtToClosureLbl.
author
Edward Z. Yang
<ezyang@mit.edu>
Tue, 22 Mar 2011 14:17:02 +0000
(14:17 +0000)
committer
Edward Z. Yang
<ezyang@mit.edu>
Tue, 22 Mar 2011 14:17:02 +0000
(14:17 +0000)
compiler/cmm/CLabel.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/CLabel.hs
b/compiler/cmm/CLabel.hs
index
7954444
..
4d95961
100644
(file)
--- a/
compiler/cmm/CLabel.hs
+++ b/
compiler/cmm/CLabel.hs
@@
-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)