mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
Whitespace cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f52dfe69e
commit
78b4fee8fd
@ -48,17 +48,17 @@ public:
|
|||||||
// around that does use it, and that needs to continue to work.
|
// around that does use it, and that needs to continue to work.
|
||||||
if (isDarwinABI)
|
if (isDarwinABI)
|
||||||
return isPPC64 ? -8U : -4U;
|
return isPPC64 ? -8U : -4U;
|
||||||
|
|
||||||
// SVR4 ABI: First slot in the general register save area.
|
// SVR4 ABI: First slot in the general register save area.
|
||||||
return isPPC64 ? -8U : -4U;
|
return isPPC64 ? -8U : -4U;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getLinkageSize - Return the size of the PowerPC ABI linkage area.
|
/// getLinkageSize - Return the size of the PowerPC ABI linkage area.
|
||||||
///
|
///
|
||||||
static unsigned getLinkageSize(bool isPPC64, bool isDarwinABI) {
|
static unsigned getLinkageSize(bool isPPC64, bool isDarwinABI) {
|
||||||
if (isDarwinABI || isPPC64)
|
if (isDarwinABI || isPPC64)
|
||||||
return 6 * (isPPC64 ? 8 : 4);
|
return 6 * (isPPC64 ? 8 : 4);
|
||||||
|
|
||||||
// SVR4 ABI:
|
// SVR4 ABI:
|
||||||
return 8;
|
return 8;
|
||||||
}
|
}
|
||||||
@ -74,7 +74,7 @@ public:
|
|||||||
// least enough stack space for the caller to store the 8 GPRs.
|
// least enough stack space for the caller to store the 8 GPRs.
|
||||||
if (isDarwinABI || isPPC64)
|
if (isDarwinABI || isPPC64)
|
||||||
return 8 * (isPPC64 ? 8 : 4);
|
return 8 * (isPPC64 ? 8 : 4);
|
||||||
|
|
||||||
// 32-bit SVR4 ABI:
|
// 32-bit SVR4 ABI:
|
||||||
// There is no default stack allocated for the 8 first GPR arguments.
|
// There is no default stack allocated for the 8 first GPR arguments.
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user