simonmar    2002/07/17 02:21:52 PDT

  Modified files:
    ghc/includes         PrimOps.h RtsFlags.h Stg.h mkNativeHdr.c 
    ghc/rts              Arena.c BlockAlloc.c Disassembler.c GC.c 
                         Hash.c Itimer.c MBlock.c PrimOps.hc 
                         Printer.c RtsFlags.c RtsStartup.c 
                         RtsUtils.c Schedule.c Select.c Signals.c 
                         StgPrimFloat.c Storage.c ThreadLabels.c 
    ghc/rts/hooks        ErrorHdr.c MallocFail.c 
                         NoRunnableThreads.c OutOfHeap.c 
                         PatErrorHdr.c RtsOpts.c StackOverflow.c 
  Log:
  Remove most #includes of system headers from Stg.h, and instead
  #include any required headers directly in each RTS source file.
  
  The idea is to (a) reduce namespace pollution from system headers that
  we don't need, (c) be clearer about dependencies on system things in
  the RTS, and (c) improve via-C compilation times (maybe).
  
  In practice though, HsBase.h #includes everything anyway, so the
  difference from the point of view of .hc source is minimal.  However,
  this makes it easier to move to zero-includes if we wanted to (see
  discussion on the FFI list; I'm still not sure that's possible but
  at least this is a step in the right direction).
  
  Revision  Changes    Path
  1.96      +5 -6      fptools/ghc/includes/PrimOps.h
  1.42      +3 -1      fptools/ghc/includes/RtsFlags.h
  1.47      +1 -17     fptools/ghc/includes/Stg.h
  1.9       +3 -1      fptools/ghc/includes/mkNativeHdr.c
  1.2       +3 -1      fptools/ghc/rts/Arena.c
  1.14      +3 -1      fptools/ghc/rts/BlockAlloc.c
  1.25      +4 -2      fptools/ghc/rts/Disassembler.c
  1.137     +3 -1      fptools/ghc/rts/GC.c
  1.9       +3 -0      fptools/ghc/rts/Hash.c
  1.30      +5 -1      fptools/ghc/rts/Itimer.c
  1.29      +3 -1      fptools/ghc/rts/MBlock.c
  1.100     +7 -1      fptools/ghc/rts/PrimOps.hc
  1.52      +5 -2      fptools/ghc/rts/Printer.c
  1.57      +4 -1      fptools/ghc/rts/RtsFlags.c
  1.65      +3 -1      fptools/ghc/rts/RtsStartup.c
  1.26      +3 -1      fptools/ghc/rts/RtsUtils.c
  1.148     +3 -1      fptools/ghc/rts/Schedule.c
  1.21      +5 -2      fptools/ghc/rts/Select.c
  1.26      +15 -5     fptools/ghc/rts/Signals.c
  1.9       +3 -1      fptools/ghc/rts/StgPrimFloat.c
  1.67      +4 -1      fptools/ghc/rts/Storage.c
  1.2       +2 -0      fptools/ghc/rts/ThreadLabels.c
  1.3       +5 -1      fptools/ghc/rts/hooks/ErrorHdr.c
  1.3       +3 -1      fptools/ghc/rts/hooks/MallocFail.c
  1.3       +3 -1      fptools/ghc/rts/hooks/NoRunnableThreads.c
  1.4       +2 -1      fptools/ghc/rts/hooks/OutOfHeap.c
  1.3       +5 -1      fptools/ghc/rts/hooks/PatErrorHdr.c
  1.2       +3 -1      fptools/ghc/rts/hooks/RtsOpts.c
  1.3       +3 -1      fptools/ghc/rts/hooks/StackOverflow.c
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc


Reply via email to