[cvs-nhc98] patch applied (hat): Hat: Do not store import lists in the ModInfo table for a module.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:01:59 EDT 2006


Fri Mar 16 02:42:57 PST 2001  malcolm
  * Hat: Do not store import lists in the ModInfo table for a module.
  
    Storing import references forces the linker to add every single
    Prelude function into the final executable.  We no longer use
    the import tables to find functions and adjust their trustedness
    at runtime, so carrying the dead code is no longer necessary.
  
    For the moment, the import list is still part of the C struct
    ModInfo, but in this change, we always fill it with a null list
    at compile time.

    M ./src/compiler98/DbgDumpSRIDTable.hs -1 +1
    M ./src/compiler98/DbgDumpSRIDTableC.hs -1 +2


More information about the Cvs-nhc98 mailing list