diff options
author | Peter Trommler <ptrommler@acm.org> | 2018-12-30 22:28:45 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-16 14:13:14 -0500 |
commit | ea79978b53727f5e5c3cfc413e60b6ba90451079 (patch) | |
tree | 7cffb2483bea10306f33bd6462f01f04fb9dc2cc /includes | |
parent | 3f46cffcc2850e68405a113d4df7210c4748b4c1 (diff) | |
download | haskell-ea79978b53727f5e5c3cfc413e60b6ba90451079.tar.gz |
Fix reference to stack code in comment
Diffstat (limited to 'includes')
-rw-r--r-- | includes/CodeGen.Platform.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/CodeGen.Platform.hs b/includes/CodeGen.Platform.hs index dbd4cc9f90..8dcec49d18 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. |