mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 04:11:27 +00:00
Removed unused variable, detected by gcc
-Wunused-but-set-variable. Leftover from r181979. llvm-svn: 181993
This commit is contained in:
parent
537821c785
commit
a0ea76e714
@ -119,13 +119,11 @@ void XCoreFrameLowering::emitPrologue(MachineFunction &MF) const {
|
||||
bool saveLR = XFI->getUsesLR();
|
||||
// Do we need to allocate space on the stack?
|
||||
if (FrameSize) {
|
||||
bool LRSavedOnEntry = false;
|
||||
int Opcode;
|
||||
if (saveLR && (MFI->getObjectOffset(XFI->getLRSpillSlot()) == 0)) {
|
||||
Opcode = (isU6) ? XCore::ENTSP_u6 : XCore::ENTSP_lu6;
|
||||
MBB.addLiveIn(XCore::LR);
|
||||
saveLR = false;
|
||||
LRSavedOnEntry = true;
|
||||
} else {
|
||||
Opcode = (isU6) ? XCore::EXTSP_u6 : XCore::EXTSP_lu6;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user