Sun Aug 26 00:33:22 PDT 2007  Simon Marlow <[EMAIL PROTECTED]>
  * Refactoring only: remove [Id] field from ForeignStubs
  We used to pass the list of top-level foreign exported bindings to the
  code generator so that it could create StablePtrs for them in the
  stginit code.  Now we don't use stginit unless profiling, and the
  StablePtrs are generated by C functions marked with
  attribute((constructor)).  This patch removes various bits associated
  with the old way of doing things, which were previously left in place
  in case we wanted to switch back, I presume.  Also I refactored
  dsForeigns to clean it up a bit.

    M ./compiler/codeGen/CodeGen.lhs -5 +3
    M ./compiler/deSugar/DsForeign.lhs -44 +42
    M ./compiler/main/CodeOutput.lhs -3 +3
    M ./compiler/main/HscMain.lhs -1 +1
    M ./compiler/main/HscTypes.lhs -2

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to