mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +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:
parent
5f222b18e3
commit
0106a0aafe
@ -94,11 +94,11 @@ public:
|
||||
if (TM.getSubtarget<PPCSubtarget>().isDarwinABI()) {
|
||||
NumEntries = 1;
|
||||
if (TM.getSubtarget<PPCSubtarget>().isPPC64()) {
|
||||
static const SpillSlot darwin64Offsets[] = {PPC::X31, -8};
|
||||
return darwin64Offsets;
|
||||
static const SpillSlot darwin64Offsets = {PPC::X31, -8};
|
||||
return &darwin64Offsets;
|
||||
} else {
|
||||
static const SpillSlot darwinOffsets[] = {PPC::R31, -4};
|
||||
return darwinOffsets;
|
||||
static const SpillSlot darwinOffsets = {PPC::R31, -4};
|
||||
return &darwinOffsets;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user