Sven Panne wrote:
Am Montag, 13. November 2006 10:53 schrieb Simon Marlow:

Sven Panne wrote:

Fri Nov 10 09:16:26 PST 2006  [EMAIL PROTECTED]
 * Make StablePtr and friends visible, this seems to be necessary for
64bit architectures

   M ./includes/Rts.h +4

This undoes a previous patch of mine:

Tue Oct 24 10:13:57 BST 2006  Simon Marlow <[EMAIL PROTECTED]>
  * Split GC.c, and move storage manager into sm/ directory
  In preparation for parallel GC, split up the monolithic GC.c file into
  smaller parts.  Also in this patch (and difficult to separate,
  unfortunatley):

    - Don't include Stable.h in Rts.h, instead just include it where
      necessary.


That's exactly what my patch does, i.e. make the StablePtr C API visible when compiling via C. ;-)

By the way, Rts.h isn't included when compiling via C, only in the .stub_c files, just in case that wasn't clear. Stg.h is included in .hc files, and it has a much smaller footprint than Rts.h (this wasn't always the case - .hc code got a lot simpler when we moved to C-- for our backend IL).

Cheers,
        Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to