diff options
author | Takenobu Tani <takenobu.hs@gmail.com> | 2020-05-27 22:43:46 +0900 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-01 06:39:05 -0400 |
commit | 11390e3ab038a18c2a7bf6b2423657614a439afb (patch) | |
tree | eccde174cd2054fd87e89da0f6aa5eac2f1dd744 /libraries | |
parent | 7002d0cbbe1581dd157b530e95c62195f37cfe00 (diff) | |
download | haskell-11390e3ab038a18c2a7bf6b2423657614a439afb.tar.gz |
Clean up file paths for new module hierarchy
This updates comments only.
This patch replaces file references according to new module hierarchy.
See also:
* https://gitlab.haskell.org/ghc/ghc/-/wikis/Make-GHC-codebase-more-modular
* https://gitlab.haskell.org/ghc/ghc/issues/13009
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/base/GHC/Base.hs | 2 | ||||
-rw-r--r-- | libraries/ghci/GHCi/Message.hs | 4 | ||||
-rw-r--r-- | libraries/ghci/GHCi/RemoteTypes.hs | 4 | ||||
-rw-r--r-- | libraries/ghci/GHCi/Run.hs | 2 | ||||
-rw-r--r-- | libraries/ghci/GHCi/TH.hs | 4 | ||||
-rw-r--r-- | libraries/template-haskell/Language/Haskell/TH/Syntax.hs | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index b95cec7505..b496bac35e 100644 --- a/libraries/base/GHC/Base.hs +++ b/libraries/base/GHC/Base.hs @@ -319,7 +319,7 @@ mechanism to define mconcat and the Applicative and Monad instances for lists. We mark them INLINE because the inliner is not generally too keen to inline build forms such as the ones these desugar to without our insistence. Defining these using list comprehensions instead of foldr has an additional potential -benefit, as described in compiler/deSugar/DsListComp.hs: if optimizations +benefit, as described in compiler/GHC/HsToCore/ListComp.hs: if optimizations needed to make foldr/build forms efficient are turned off, we'll get reasonably efficient translations anyway. -} diff --git a/libraries/ghci/GHCi/Message.hs b/libraries/ghci/GHCi/Message.hs index b7c402ccfa..ad94776a9f 100644 --- a/libraries/ghci/GHCi/Message.hs +++ b/libraries/ghci/GHCi/Message.hs @@ -6,7 +6,7 @@ -- Remote GHCi message types and serialization. -- -- For details on Remote GHCi, see Note [Remote GHCi] in --- compiler/ghci/GHCi.hs. +-- compiler/GHC/Runtime/Interpreter.hs. -- module GHCi.Message ( Message(..), Msg(..) @@ -83,7 +83,7 @@ data Message a where -- | Create a set of BCO objects, and return HValueRefs to them -- Note: Each ByteString contains a Binary-encoded [ResolvedBCO], not -- a ResolvedBCO. The list is to allow us to serialise the ResolvedBCOs - -- in parallel. See @createBCOs@ in compiler/ghci/GHCi.hsc. + -- in parallel. See @createBCOs@ in compiler/GHC/Runtime/Interpreter.hs. CreateBCOs :: [LB.ByteString] -> Message [HValueRef] -- | Release 'HValueRef's diff --git a/libraries/ghci/GHCi/RemoteTypes.hs b/libraries/ghci/GHCi/RemoteTypes.hs index 6a552f37da..bbd7d32bed 100644 --- a/libraries/ghci/GHCi/RemoteTypes.hs +++ b/libraries/ghci/GHCi/RemoteTypes.hs @@ -2,10 +2,10 @@ -- | -- Types for referring to remote objects in Remote GHCi. For more --- details, see Note [External GHCi pointers] in compiler/ghci/GHCi.hs +-- details, see Note [External GHCi pointers] in compiler/GHC/Runtime/Interpreter.hs -- -- For details on Remote GHCi, see Note [Remote GHCi] in --- compiler/ghci/GHCi.hs. +-- compiler/GHC/Runtime/Interpreter.hs. -- module GHCi.RemoteTypes ( RemotePtr(..), toRemotePtr, fromRemotePtr, castRemotePtr diff --git a/libraries/ghci/GHCi/Run.hs b/libraries/ghci/GHCi/Run.hs index ab55502f8e..b34ba1553f 100644 --- a/libraries/ghci/GHCi/Run.hs +++ b/libraries/ghci/GHCi/Run.hs @@ -6,7 +6,7 @@ -- Execute GHCi messages. -- -- For details on Remote GHCi, see Note [Remote GHCi] in --- compiler/ghci/GHCi.hs. +-- compiler/GHC/Runtime/Interpreter.hs. -- module GHCi.Run ( run, redirectInterrupts diff --git a/libraries/ghci/GHCi/TH.hs b/libraries/ghci/GHCi/TH.hs index 15d70ceb4f..56e38c0244 100644 --- a/libraries/ghci/GHCi/TH.hs +++ b/libraries/ghci/GHCi/TH.hs @@ -85,8 +85,8 @@ The server runs any finalizers that were added by addModuleFinalizer. Other Notes on TH / Remote GHCi - * Note [Remote GHCi] in compiler/ghci/GHCi.hs - * Note [External GHCi pointers] in compiler/ghci/GHCi.hs + * Note [Remote GHCi] in compiler/GHC/Runtime/Interpreter.hs + * Note [External GHCi pointers] in compiler/GHC/Runtime/Interpreter.hs * Note [TH recover with -fexternal-interpreter] in GHC.Tc.Gen.Splice -} diff --git a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs index d994aa686d..53d9aabb7d 100644 --- a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs +++ b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs @@ -2256,7 +2256,7 @@ data Foreign = ImportF Callconv Safety String Name Type | ExportF Callconv String Name Type deriving( Show, Eq, Ord, Data, Generic ) --- keep Callconv in sync with module ForeignCall in ghc/compiler/prelude/ForeignCall.hs +-- keep Callconv in sync with module ForeignCall in ghc/compiler/GHC/Types/ForeignCall.hs data Callconv = CCall | StdCall | CApi | Prim | JavaScript deriving( Show, Eq, Ord, Data, Generic ) |