Matthew Pickering pushed to branch wip/bytecode-library at Glasgow Haskell Compiler / GHC Commits: e70a8092 by Matthew Pickering at 2025-10-06T11:26:30+01:00 Fix warnings - - - - - 5 changed files: - compiler/GHC/Driver/ByteCode.hs - compiler/GHC/Driver/Pipeline.hs - compiler/GHC/Linker/Dynamic.hs - compiler/GHC/Linker/Loader.hs - compiler/GHC/Runtime/Interpreter.hs Changes: ===================================== compiler/GHC/Driver/ByteCode.hs ===================================== @@ -22,7 +22,6 @@ import Data.Time import GHC.Platform.Ways -import GHC.ByteCode.Serialize import System.OsPath -- | Write foreign sources and foreign stubs to temporary files and compile them. ===================================== compiler/GHC/Driver/Pipeline.hs ===================================== @@ -48,7 +48,6 @@ import GHC.Builtin.Names import GHC.Platform -import GHC.ByteCode.Serialize import GHC.Utils.Monad ( MonadIO(liftIO), mapMaybeM ) import GHC.Driver.Main ===================================== compiler/GHC/Linker/Dynamic.hs ===================================== @@ -28,7 +28,6 @@ import GHC.Utils.TmpFs import Control.Monad (when) import System.FilePath -import GHC.Utils.Outputable data DynLinkMode = LinkingHomePackage -- | Creating a dynamic library for the home package | LinkingForInterpreter ===================================== compiler/GHC/Linker/Loader.hs ===================================== @@ -538,6 +538,7 @@ preloadLib preloadLib interp hsc_env lib_paths framework_paths pls lib_spec = do maybePutStr logger ("Loading object " ++ showLS lib_spec ++ " ... ") case lib_spec of + BytecodeLibrary _bco -> panic "TODO: MP preloadLib BytecodeLibrary" Objects static_ishs -> do (b, pls1) <- preload_statics lib_paths static_ishs maybePutStrLn logger (if b then "done" else "not found") ===================================== compiler/GHC/Runtime/Interpreter.hs ===================================== @@ -77,9 +77,6 @@ import GHCi.RemoteTypes import GHCi.ResolvedBCO import GHCi.BreakArray (BreakArray) import GHC.ByteCode.Breakpoints -import GHC.ByteCode.Serialize -import GHC.Driver.Env -import GHC.Driver.ByteCode import GHC.ByteCode.Types import GHC.Linker.Types @@ -119,7 +116,6 @@ import qualified GHC.InfoProv as InfoProv import GHC.Builtin.Names import GHC.Types.Name import qualified GHC.Unit.Home.Graph as HUG -import GHC.Utils.Misc -- Standard libraries import GHC.Exts View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e70a80929e1acd8738f86375a4d382fb... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e70a80929e1acd8738f86375a4d382fb... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Matthew Pickering (@mpickering)