Commit ea79978b authored by Peter Trommler's avatar Peter Trommler 🥁 Committed by Ben Gamari

Fix reference to stack code in comment

parent 3f46cffc
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment