From: Simon Marlow Date: Sun, 26 Aug 2007 07:33:22 +0000 (+0000) Subject: Refactoring only: remove [Id] field from ForeignStubs X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=663b391470a783e8f23414c07c18a020850d2fb8;hp=663b391470a783e8f23414c07c18a020850d2fb8 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. ---