mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	Removed unused variable, detected by gcc
-Wunused-but-set-variable. Leftover from r181979. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user