Retrieving closure code during code generation
William Jones
lunaris.bluemoon at gmail.com
Mon Mar 2 15:49:38 EST 2009
Hello,
I am currently working with GHC's code generator and am wondering if there
is any way I can retrieve the Cmm for a function during the compilation of
another? I have looked at the information passed using CgMonad and at the
bindings in scope but these don't seem to be what I need. As an example,
when generating code for the tail call "map f xs," can I retrieve the Cmm
expressions that make up "f"?
Apologies if I am missing something glaringly obvious, thanks,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/cvs-ghc/attachments/20090302/7578cca8/attachment.htm
More information about the Cvs-ghc
mailing list