Wolfgang Jeltsch pushed to branch wip/jeltsch/more-efficient-home-unit-imports-finding at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Unit/Finder.hs
    ... ... @@ -287,6 +287,9 @@ findImportedModuleNoHsc fc fopts ue home_module_name_providers_map mb_home_unit
    287 287
                                  homeUnitEnv_dflags (ue_findHomeUnitEnv uid ue)
    
    288 288
               ]
    
    289 289
     
    
    290
    +-- | Yields the unit IDs from the given set as a list with those that refer to
    
    291
    +-- providers of the given home module name coming first. This is to prioritize
    
    292
    +-- such providers during module finding.
    
    290 293
     rankedHomeUnitDeps :: HomeModuleNameProvidersMap
    
    291 294
                        -> ModuleName
    
    292 295
                        -> Set UnitId