cvs commit: fptools/ghc/compiler/main DriverPhases.hs Finder.lhs
DriverPipeline.hs HscTypes.lhs fptools/ghc/compiler/ghci
CmStaticInfo.lhs CmSummarise.lhs CmFind.lhs
Simon Marlow
simonmar@glass.cse.ogi.edu
Mon, 16 Oct 2000 08:17:00 -0700
simonmar 2000/10/16 08:16:59 PDT
Modified files:
ghc/compiler/main DriverPipeline.hs HscTypes.lhs
ghc/compiler/ghci CmStaticInfo.lhs CmSummarise.lhs
Added files:
ghc/compiler/main DriverPhases.hs Finder.lhs
Removed files:
ghc/compiler/ghci CmFind.lhs
Log:
re-implement the finder using information from the driver. The Finder
now has type
ModuleName -> IO (Maybe (Module, ModuleLocation)
where
data ModuleLocation = ModuleLocation {
hs_file :: FilePath,
hi_file :: FilePath,
obj_file :: FilePath
}
For a module in another package, the hs_file and obj_file components
are undefined.
Revision Changes Path
1.3 +3 -65 fptools/ghc/compiler/main/DriverPipeline.hs
1.19 +9 -9 fptools/ghc/compiler/main/HscTypes.lhs
1.9 +3 -48 fptools/ghc/compiler/ghci/CmStaticInfo.lhs
1.9 +14 -11 fptools/ghc/compiler/ghci/CmSummarise.lhs