summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2011-03-22 14:17:02 +0000
committerEdward Z. Yang <ezyang@mit.edu>2011-03-22 14:17:02 +0000
commit3e3498ad6f60e94eb38a9c7586971495440b895b (patch)
tree4bbc37bebe51812bf240edca2a4570be910da5fc
parentcb5260d444da0f74c2e06c7857dff2f163415ebd (diff)
downloadhaskell-3e3498ad6f60e94eb38a9c7586971495440b895b.tar.gz
RednCounts can contain CAFs, so support them in cvtToClosureLbl.
-rw-r--r--compiler/cmm/CLabel.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs
index 79544445d7..4d9596197e 100644
--- 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)