summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2018-12-30 22:31:38 +0100
committerPeter Trommler <ptrommler@acm.org>2019-01-08 01:44:28 -0500
commitc5a7ce02bc3cb360217af0748f298ffbfceaf2e8 (patch)
treec23d34f3663db0fd0284eb8410b0652a26978e85
parentef9e6aa8aeb3262be0e2d98fb7b3e7ed9005446b (diff)
downloadhaskell-wip/ppc-update-sp.tar.gz
Fix filename in comment againwip/ppc-update-sp
-rw-r--r--includes/CodeGen.Platform.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/CodeGen.Platform.hs b/includes/CodeGen.Platform.hs
index 8dcec49d18..6c00597764 100644
--- a/includes/CodeGen.Platform.hs
+++ b/includes/CodeGen.Platform.hs
@@ -895,7 +895,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/CodeGen.hs.
+ in stack handling code. See compiler/nativeGen/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.