summaryrefslogtreecommitdiff
path: root/rts
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 /rts
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 'rts')
-rw-r--r--rts/Interpreter.c2
-rw-r--r--rts/PrimOps.cmm2
-rw-r--r--rts/RtsStartup.c2
-rw-r--r--rts/StgCRun.c4
-rw-r--r--rts/StgMiscClosures.cmm2
5 files changed, 6 insertions, 6 deletions
diff --git a/rts/Interpreter.c b/rts/Interpreter.c
index 463ddae18b..b7575b3051 100644
--- a/rts/Interpreter.c
+++ b/rts/Interpreter.c
@@ -290,7 +290,7 @@ static StgWord app_ptrs_itbl[] = {
};
HsStablePtr rts_breakpoint_io_action; // points to the IO action which is executed on a breakpoint
- // it is set in main/GHC.hs:runStmt
+ // it is set in compiler/GHC.hs:runStmt
Capability *
interpretBCO (Capability* cap)
diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm
index 090f915035..1bd30b3af0 100644
--- a/rts/PrimOps.cmm
+++ b/rts/PrimOps.cmm
@@ -13,7 +13,7 @@
*
* Entry convention: the entry convention for a primop is the
* NativeNodeCall convention, and the return convention is
- * NativeReturn. (see compiler/cmm/CmmCallConv.hs)
+ * NativeReturn. (see compiler/GHC/Cmm/CallConv.hs)
*
* This file is written in a subset of C--, extended with various
* features specific to GHC. It is compiled by GHC directly. For the
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index a628a8633b..f73d0bd742 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -70,7 +70,7 @@ static void flushStdHandles(void);
/* -----------------------------------------------------------------------------
Initialise floating point unit on x86 (currently disabled; See Note
- [x86 Floating point precision] in compiler/nativeGen/X86/Instr.hs)
+ [x86 Floating point precision] in compiler/GHC/CmmToAsm/X86/Instr.hs)
-------------------------------------------------------------------------- */
#define X86_INIT_FPU 0
diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index 55a3bf0c2d..316d90cd18 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -151,7 +151,7 @@ STG_NO_OPTIMIZE StgWord8 *win32AllocStack(void)
* procedure entry and calls, which led to bugs (see #4211 and #5250).
*
* To change this convention you need to change the code here, and in
- * compiler/nativeGen/X86/CodeGen.hs::GenCCall, and maybe the adjustor
+ * compiler/GHC/CmmToAsm/X86/CodeGen.hs::GenCCall, and maybe the adjustor
* code for thunks in rts/AdjustorAsm.s, rts/Adjustor.c.
*
* A quick way to see if this is wrong is to compile this code:
@@ -395,7 +395,7 @@ StgRunIsImplementedInAssembler(void)
#if defined(mingw32_HOST_OS)
/*
* Additional callee saved registers on Win64. This must match
- * callClobberedRegisters in compiler/nativeGen/X86/Regs.hs as
+ * callClobberedRegisters in compiler/GHC/CmmToAsm/X86/Regs.hs as
* both represent the Win64 calling convention.
*/
"movq %%rdi,48(%%rax)\n\t"
diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm
index 5af3a06b89..85c1ad398e 100644
--- a/rts/StgMiscClosures.cmm
+++ b/rts/StgMiscClosures.cmm
@@ -504,7 +504,7 @@ CLOSURE(stg_NO_TREC_closure,stg_NO_TREC);
/* ----------------------------------------------------------------------------
SRTs
- See Note [SRTs] in compiler/cmm/CmmBuildInfoTable.hs
+ See Note [SRTs] in compiler/GHC/Cmm/Info/Build.hs
------------------------------------------------------------------------- */
INFO_TABLE_CONSTR(stg_SRT_1, 1, 0, 0, CONSTR_1_0, "SRT_1", "SRT_1")