
#13219: CSE for join points -------------------------------------+------------------------------------- Reporter: lukemaurer | Owner: lukemaurer Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: JoinPoints Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
We just need to track which join points are still currently valid.
Yes, and that would not be hard. Just keep a join-point reverse map in the CSEnv, alongside the existing `cs_map`; and discard it when going into non-tail positions. A relatively easy win, but as you say a modest one. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13219#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler