diff options
author | Pepe Iborra <mnislaih@gmail.com> | 2006-12-09 17:38:23 +0000 |
---|---|---|
committer | Pepe Iborra <mnislaih@gmail.com> | 2006-12-09 17:38:23 +0000 |
commit | d308d910efa702ebf5a2f76db628d690fcf6fa51 (patch) | |
tree | ca0663367e506cc1cb68cd7a44c7e8500bb6a131 /includes | |
parent | ed12b7043fa98928f75c289a756fbcef546315f8 (diff) | |
download | haskell-d308d910efa702ebf5a2f76db628d690fcf6fa51.tar.gz |
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
Diffstat (limited to 'includes')
-rw-r--r-- | includes/StgMiscClosures.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/StgMiscClosures.h b/includes/StgMiscClosures.h index 4f638ea9ce..d98956167a 100644 --- a/includes/StgMiscClosures.h +++ b/includes/StgMiscClosures.h @@ -614,4 +614,7 @@ RTS_FUN(readTVarzh_fast); RTS_FUN(writeTVarzh_fast); RTS_FUN(checkzh_fast); +RTS_FUN(infoPtrzh_fast); +RTS_FUN(closurePayloadzh_fast); + #endif /* STGMISCCLOSURES_H */ |