[project @ 2001-07-11 01:27:04 by sof]
authorsof <unknown>
Wed, 11 Jul 2001 01:27:04 +0000 (01:27 +0000)
committersof <unknown>
Wed, 11 Jul 2001 01:27:04 +0000 (01:27 +0000)
commit2c4b2be628bce88db5bf4cda2c8d87a5156da5c6
tree9e221a0f43c440287c84db020cdb8986bfc3f8fc
parentd0dc1b0327a0cc99d5a9392dfcbc143ab4879d87
[project @ 2001-07-11 01:27:04 by sof]
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.
ghc/compiler/main/DriverPipeline.hs