mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	Fix obvious think-o.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -1072,7 +1072,7 @@ getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs, | |||||||
|  |  | ||||||
|     if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) { |     if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) { | ||||||
|       // DW_CFA_def_cfa_register |       // DW_CFA_def_cfa_register | ||||||
|       assert(FramePointerReg != -1 && "Defining more than one frame pointer?"); |       assert(FramePointerReg == -1 && "Defining more than one frame pointer?"); | ||||||
|       if (TRI->getLLVMRegNum(FramePointerReg, IsEH) != X86::EBP && |       if (TRI->getLLVMRegNum(FramePointerReg, IsEH) != X86::EBP && | ||||||
|           TRI->getLLVMRegNum(FramePointerReg, IsEH) != X86::RBP) |           TRI->getLLVMRegNum(FramePointerReg, IsEH) != X86::RBP) | ||||||
|         // The frame pointer isn't EBP/RBP. Cannot make unwind information |         // The frame pointer isn't EBP/RBP. Cannot make unwind information | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user