[GHC] #10613: Mechanism for checking that we only enter single-entry thunks once
GHC
ghc-devs at haskell.org
Fri Mar 18 10:20:11 UTC 2016
#10613: Mechanism for checking that we only enter single-entry thunks once
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
Oh ok, well, same deal. When you enter a (dynamically allocated) function
there's a register pointing to the function closure. So the ticky code at
the start of the function's code can bump the count in `ClosurePtr[4]`
(or whatever the appropriate offset is. No?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10613#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list