cvs commit: fptools/ghc/compiler/main DriverPipeline.hs
Sigbjorn Finne
sof@glass.cse.ogi.edu
Tue, 10 Jul 2001 18:27:04 -0700
sof 2001/07/10 18:27:04 PDT
Modified files:
ghc/compiler/main DriverPipeline.hs
Log:
Do away with that 'ineffective CPP' malarkey. run_phase now returns
the FilePath of its output file; in the event CPP isn't required,
we then just return the input file. (The extra LINE pragma that
the 'ineffective CPP' inserted was a NOP).
Appears to speed things up a bit; mingw/Win32 builds no longer need to
do a slow copyFile operation - other plats are saved from doing a
System.system call.
BTW, there's an opportunity to shorten the critical path for .hs files
some in the driver: at the moment 'unlit' is run over all input.
Revision Changes Path
1.87 +27 -43 fptools/ghc/compiler/main/DriverPipeline.hs