summaryrefslogtreecommitdiff
path: root/libraries/ghci
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2020-05-27 22:43:46 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-01 06:39:05 -0400
commit11390e3ab038a18c2a7bf6b2423657614a439afb (patch)
treeeccde174cd2054fd87e89da0f6aa5eac2f1dd744 /libraries/ghci
parent7002d0cbbe1581dd157b530e95c62195f37cfe00 (diff)
downloadhaskell-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/ghci')
-rw-r--r--libraries/ghci/GHCi/Message.hs4
-rw-r--r--libraries/ghci/GHCi/RemoteTypes.hs4
-rw-r--r--libraries/ghci/GHCi/Run.hs2
-rw-r--r--libraries/ghci/GHCi/TH.hs4
4 files changed, 7 insertions, 7 deletions
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
-}