mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-24 08:18:33 +00:00
Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -498,7 +498,7 @@ PPCRegisterInfo::hasReservedSpillSlot(const MachineFunction &MF,
|
||||
} else if (CRSpillFrameIdx) {
|
||||
FrameIdx = CRSpillFrameIdx;
|
||||
} else {
|
||||
MachineFrameInfo *MFI = ((MachineFunction &)MF).getFrameInfo();
|
||||
MachineFrameInfo *MFI = (const_cast<MachineFunction &>(MF)).getFrameInfo();
|
||||
FrameIdx = MFI->CreateFixedObject((uint64_t)4, (int64_t)-4, true);
|
||||
CRSpillFrameIdx = FrameIdx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user