Clarify the SRT building process
authordias@eecs.harvard.edu <unknown>
Tue, 14 Oct 2008 14:02:02 +0000 (14:02 +0000)
committerdias@eecs.harvard.edu <unknown>
Tue, 14 Oct 2008 14:02:02 +0000 (14:02 +0000)
commite367ebeb97b97bc2732202bcfabbbde63f1ec5cd
tree4e72da530d9534a1a84160a59414a987729bf1c1
parent309f64a0fd319198308f6b76bd22f38001bb5df0
Clarify the SRT building process
Before: building a closure that would build an SRT given the top-level
SRT. It was somewhat difficult to understand the control flow, and it
may have had held onto some data structures long after they should be dead.
Now, I just bundle the info we need about CAFs along with the procedure
and directly call a new top-level function to build the SRTs later.
compiler/cmm/CmmBuildInfoTables.hs
compiler/cmm/CmmCPSZ.hs