diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2020-08-01 08:58:03 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-08-05 04:00:04 -0400 |
commit | 5e12cd1733b581f48a5873b12971b6974778eabb (patch) | |
tree | 8f72a7beb4fd82b90c71a9cd5412e9e777a48c53 | |
parent | 3f2f771869c65125ba013a5dd2b213061efe0fc2 (diff) | |
download | haskell-5e12cd1733b581f48a5873b12971b6974778eabb.tar.gz |
Rename Core.Opt.Driver -> Core.Opt.Pipeline
Closes #18504.
-rw-r--r-- | compiler/GHC/Core/Opt/Pipeline.hs (renamed from compiler/GHC/Core/Opt/Driver.hs) | 2 | ||||
-rw-r--r-- | compiler/GHC/Core/Opt/Simplify.hs | 2 | ||||
-rw-r--r-- | compiler/GHC/Driver/Main.hs | 2 | ||||
-rw-r--r-- | compiler/ghc.cabal.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/compiler/GHC/Core/Opt/Driver.hs b/compiler/GHC/Core/Opt/Pipeline.hs index e7fed026d1..76be316a3e 100644 --- a/compiler/GHC/Core/Opt/Driver.hs +++ b/compiler/GHC/Core/Opt/Pipeline.hs @@ -6,7 +6,7 @@ {-# LANGUAGE CPP #-} -module GHC.Core.Opt.Driver ( core2core, simplifyExpr ) where +module GHC.Core.Opt.Pipeline ( core2core, simplifyExpr ) where #include "HsVersions.h" diff --git a/compiler/GHC/Core/Opt/Simplify.hs b/compiler/GHC/Core/Opt/Simplify.hs index aaf4e346b9..f9e9c57640 100644 --- a/compiler/GHC/Core/Opt/Simplify.hs +++ b/compiler/GHC/Core/Opt/Simplify.hs @@ -68,7 +68,7 @@ import GHC.Builtin.PrimOps ( PrimOp (SeqOp) ) {- The guts of the simplifier is in this module, but the driver loop for -the simplifier is in GHC.Core.Opt.Driver +the simplifier is in GHC.Core.Opt.Pipeline Note [The big picture] ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/compiler/GHC/Driver/Main.hs b/compiler/GHC/Driver/Main.hs index b2a0f887e0..42e9a35724 100644 --- a/compiler/GHC/Driver/Main.hs +++ b/compiler/GHC/Driver/Main.hs @@ -117,7 +117,7 @@ import GHC.Tc.Utils.Monad import GHC.Tc.Utils.Zonk ( ZonkFlexi (DefaultFlexi) ) import GHC.Types.Name.Cache ( initNameCache ) import GHC.Builtin.Utils -import GHC.Core.Opt.Driver +import GHC.Core.Opt.Pipeline import GHC.HsToCore import GHC.Iface.Load ( ifaceStats, initExternalPackageState, writeIface ) import GHC.Iface.Make diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index e37a32ce6a..1372a187d9 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -427,7 +427,7 @@ Library GHC.Core.Opt.OccurAnal GHC.Core.Opt.StaticArgs GHC.Core.Opt.SetLevels - GHC.Core.Opt.Driver + GHC.Core.Opt.Pipeline GHC.Core.Opt.Simplify.Env GHC.Core.Opt.Simplify.Monad GHC.Core.Opt.Simplify.Utils |