[GHC] #8864: Document heap allocation functions in StgCmmMonad/StgCmmLayout

GHC ghc-devs at haskell.org
Mon Mar 10 16:10:32 UTC 2014


#8864: Document heap allocation functions in StgCmmMonad/StgCmmLayout
-------------------------------------+------------------------------------
        Reporter:  tibbe             |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Documentation     |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by simonpj):

 Ah yes, now I see. You are right: the offset returned is valid only until
 the real heap pointer is moved.  `virtHp` doesn't matter.  I'll add that.

 Simon

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8864#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list