mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Fix compiler warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89824 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -94,11 +94,11 @@ public:
|
|||||||
if (TM.getSubtarget<PPCSubtarget>().isDarwinABI()) {
|
if (TM.getSubtarget<PPCSubtarget>().isDarwinABI()) {
|
||||||
NumEntries = 1;
|
NumEntries = 1;
|
||||||
if (TM.getSubtarget<PPCSubtarget>().isPPC64()) {
|
if (TM.getSubtarget<PPCSubtarget>().isPPC64()) {
|
||||||
static const SpillSlot darwin64Offsets[] = {PPC::X31, -8};
|
static const SpillSlot darwin64Offsets = {PPC::X31, -8};
|
||||||
return darwin64Offsets;
|
return &darwin64Offsets;
|
||||||
} else {
|
} else {
|
||||||
static const SpillSlot darwinOffsets[] = {PPC::R31, -4};
|
static const SpillSlot darwinOffsets = {PPC::R31, -4};
|
||||||
return darwinOffsets;
|
return &darwinOffsets;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user