diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-02-06 03:09:38 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-02-06 03:11:00 +0000 |
commit | 8ceb98659a1afd67ed6a8a68ef2b2d1c1f6cdeb0 (patch) | |
tree | 8fd58da42ef2a7f9b0bafeba86beefe9dbc52ac9 | |
parent | 549292eb3725eca61722ddd2cfb4d964ccba3fc7 (diff) | |
download | haskell-wip/delete-compileOne.tar.gz |
Delete `compileOne`wip/delete-compileOne
It is dead code; it can trivially by made from `compileOne'` in any
downstream code that might use it.
-rw-r--r-- | compiler/GHC/Driver/Pipeline.hs | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/compiler/GHC/Driver/Pipeline.hs b/compiler/GHC/Driver/Pipeline.hs index 56e188395e..cb2a1959d6 100644 --- a/compiler/GHC/Driver/Pipeline.hs +++ b/compiler/GHC/Driver/Pipeline.hs @@ -23,7 +23,7 @@ module GHC.Driver.Pipeline ( -- * Interfaces for the compilation manager (interpreted/batch-mode) preprocess, - compileOne, compileOne', + compileOne', compileForeign, compileEmptyStub, -- * Linking @@ -205,16 +205,6 @@ preprocess hsc_env input_fn mb_input_buf mb_phase = -- NB. No old interface can also mean that the source has changed. -compileOne :: HscEnv - -> ModSummary -- ^ summary for module being compiled - -> Int -- ^ module N ... - -> Int -- ^ ... of M - -> Maybe ModIface -- ^ old interface, if we have one - -> Maybe Linkable -- ^ old linkable, if we have one - -> IO HomeModInfo -- ^ the complete HomeModInfo, if successful - -compileOne = compileOne' (Just batchMsg) - compileOne' :: Maybe Messager -> HscEnv -> ModSummary -- ^ summary for module being compiled |