[Git][ghc/ghc][wip/home-unit-closure-fast] Apply 1 suggestion(s) to 1 file(s)

Zubin (@wz1000) gitlab at gitlab.haskell.org
Fri Mar 22 09:13:56 UTC 2024



Zubin pushed to branch wip/home-unit-closure-fast at Glasgow Haskell Compiler / GHC


Commits:
fd1c7f9e by Hannes Siebenhandl at 2024-03-22T09:13:54+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -


1 changed file:

- compiler/GHC/Driver/Make.hs


Changes:

=====================================
compiler/GHC/Driver/Make.hs
=====================================
@@ -1734,8 +1734,10 @@ downsweep hsc_env old_summaries excl_mods allow_dup_roots
             GWIB { gwib_mod = L loc mod, gwib_isBoot = is_boot } = gwib
             wanted_mod = L loc mod
 
--- This function checks then important property that if both p and q are home units
+-- | This function checks then important property that if both p and q are home units
 -- then any dependency of p, which transitively depends on q is also a home unit.
+--
+-- See Note [Multiple Home Units], section 'Closure Property'.
 checkHomeUnitsClosed ::  UnitEnv -> Set.Set UnitId -> [DriverMessages]
 checkHomeUnitsClosed ue home_id_set
     | Set.null bad_unit_ids = []



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fd1c7f9e61f823647d96a0e7d148090a08ab46a2

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fd1c7f9e61f823647d96a0e7d148090a08ab46a2
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240322/40fb7146/attachment.html>


More information about the ghc-commits mailing list