patch applied (ghc): Two new prim ops to access the Info Table and Payload of a closure:

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.all,gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Sat Dec  9 09:38:23 PST 2006  Pepe Iborra <[email protected]>
  * Two new prim ops to access the Info Table and Payload of a closure:
  
  - infoPtr# :: a -> Addr#
  - closurePayload# :: a -> (# Array b, ByteArr# #)
  
  These prim ops provide the magic behind the ':print' command 
  

    M ./compiler/prelude/primops.txt.pp +10
    M ./includes/StgMiscClosures.h +3
    M ./rts/PrimOps.cmm +49
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.