[cvs-nhc98] Hat: Do not store import lists in the ModInfo table for a

Malcolm Wallace malcolm@sparud.net
Fri, 16 Mar 2001 11:42:58 +0100 (CET)


malcolm: Fri Mar 16 11:42:57 CET 2001

Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv20797

Modified Files:
	DbgDumpSRIDTable.hs DbgDumpSRIDTableC.hs 
Log Message:
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.