[project @ 2002-05-01 09:30:04 by simonmar]
authorsimonmar <unknown>
Wed, 1 May 2002 09:30:06 +0000 (09:30 +0000)
committersimonmar <unknown>
Wed, 1 May 2002 09:30:06 +0000 (09:30 +0000)
commitdd9e16729a737dd6dcc44b0ae3c10ba4b2b69b0c
tree218a6c71767b491e6c66f44c1b2a4150cd7836ca
parent1b853dc9d423bd74625fdf8f1293ce7127d43189
[project @ 2002-05-01 09:30:04 by simonmar]
- When converting ModuleNames to Modules for use in the the module
  initialisation code, look them up in the IfaceTable(s) instead of
  calling findModule again.  They are guaranteed to be in either
  the HomeIfaceTable or the PackageIfaceTable after the renamer,
  so this saves some trips to the filesystem.  Also, move this
  code earlier in the compilation cycle to avoid holding on to the
  renamed syntax for too long (not sure if this makes a difference or
  not, but it definitely looked space-leakish before).

- remove Util.unJust, it is a duplicate of Maybes.expectJust
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/HscMain.lhs
ghc/compiler/main/HscTypes.lhs
ghc/compiler/main/Main.hs
ghc/compiler/utils/Util.lhs