[Git][ghc/ghc][wip/romes/graph-compact-easy] move hpt add to branch only

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Mon Jan 6 17:54:55 UTC 2025



Rodrigo Mesquita pushed to branch wip/romes/graph-compact-easy at Glasgow Haskell Compiler / GHC


Commits:
45116934 by Rodrigo Mesquita at 2025-01-06T17:54:44+00:00
move hpt add to branch only

- - - - -


1 changed file:

- compiler/GHC/Driver/Main.hs


Changes:

=====================================
compiler/GHC/Driver/Main.hs
=====================================
@@ -1083,11 +1083,11 @@ initWholeCoreBindings ::
   Linkable ->
   IO Linkable
 initWholeCoreBindings hsc_env iface details (Linkable utc_time this_mod uls) = do
-  add_iface_to_hpt iface details hsc_env
   Linkable utc_time this_mod <$> mapM (go hsc_env) uls
   where
     go hsc_env' = \case
       CoreBindings wcb -> do
+        add_iface_to_hpt iface details hsc_env
         ~(bco, fos) <- unsafeInterleaveIO $
                        compileWholeCoreBindings hsc_env' type_env wcb
         pure (LazyBCOs bco fos)



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/45116934a2ab8afe41c34539da2a9b657d07b383
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/20250106/e7eb4ce5/attachment.html>


More information about the ghc-commits mailing list