[Git][ghc/ghc][wip/T24634-oneshot-bytecode] replace `undefined` by the proper value

Torsten Schmits (@torsten.schmits) gitlab at gitlab.haskell.org
Fri Aug 2 11:31:17 UTC 2024



Torsten Schmits pushed to branch wip/T24634-oneshot-bytecode at Glasgow Haskell Compiler / GHC


Commits:
babc710a by Torsten Schmits at 2024-08-02T13:30:51+02:00
replace `undefined` by the proper value

- - - - -


1 changed file:

- compiler/GHC/Linker/Deps.hs


Changes:

=====================================
compiler/GHC/Linker/Deps.hs
=====================================
@@ -294,7 +294,7 @@ get_link_deps opts pls maybe_normal_osuf span mods = do
                   case mi_extra_decls iface of
                     Just extra_decls -> do
                       t <- getCurrentTime
-                      initWholeCoreBindingsEps hsc_env iface $ LM t mod [CoreBindings $ WholeCoreBindings extra_decls mod undefined]
+                      initWholeCoreBindingsEps hsc_env iface $ LM t mod [CoreBindings $ WholeCoreBindings extra_decls mod loc]
                     _ -> fallback_no_bytecode loc mod
               | otherwise = fallback_no_bytecode loc mod
 



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/babc710a6dc415f17d3dc49417875a62429b7723
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/20240802/6f655c97/attachment.html>


More information about the ghc-commits mailing list