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 /includes | |
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 'includes')
-rw-r--r-- | includes/CodeGen.Platform.hs | 2 | ||||
-rw-r--r-- | includes/stg/MachRegs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/CodeGen.Platform.hs b/includes/CodeGen.Platform.hs index c8f4ee1c69..2ae86d303b 100644 --- a/includes/CodeGen.Platform.hs +++ b/includes/CodeGen.Platform.hs @@ -925,7 +925,7 @@ freeReg 13 = False -- reserved for system thread ID on 64 bit freeReg 30 = False {- TODO: reserve r13 on 64 bit systems only and r30 on 32 bit respectively. For now we use r30 on 64 bit and r13 on 32 bit as a temporary register - in stack handling code. See compiler/nativeGen/PPC/Instr.hs. + in stack handling code. See compiler/GHC/CmmToAsm/PPC/Instr.hs. Later we might want to reserve r13 and r30 only where it is required. Then use r12 as temporary register, which is also what the C ABI does. diff --git a/includes/stg/MachRegs.h b/includes/stg/MachRegs.h index ea1125bbf8..82cce6e66a 100644 --- a/includes/stg/MachRegs.h +++ b/includes/stg/MachRegs.h @@ -341,7 +341,7 @@ the stack. See Note [Overlapping global registers] for implications. The Sun SPARC register mapping !! IMPORTANT: if you change this register mapping you must also update - compiler/nativeGen/SPARC/Regs.hs. That file handles the + compiler/GHC/CmmToAsm/SPARC/Regs.hs. That file handles the mapping for the NCG. This one only affects via-c code. The SPARC register (window) story: Remember, within the Haskell |