[commit: ghc] wip/ppc-update-sp: Fix reference to stack code in comment (ef9e6aa)
git at git.haskell.org
git at git.haskell.org
Sun Mar 31 15:08:12 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ppc-update-sp
Link : http://ghc.haskell.org/trac/ghc/changeset/ef9e6aa8aeb3262be0e2d98fb7b3e7ed9005446b/ghc
>---------------------------------------------------------------
commit ef9e6aa8aeb3262be0e2d98fb7b3e7ed9005446b
Author: Peter Trommler <ptrommler at acm.org>
Date: Sun Dec 30 22:28:45 2018 +0100
Fix reference to stack code in comment
>---------------------------------------------------------------
ef9e6aa8aeb3262be0e2d98fb7b3e7ed9005446b
includes/CodeGen.Platform.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/includes/CodeGen.Platform.hs b/includes/CodeGen.Platform.hs
index dbd4cc9..8dcec49 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/Ppr.hs.
+ in stack handling code. See compiler/nativeGen/PPC/CodeGen.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.
More information about the ghc-commits
mailing list