mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +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:
parent
595d745f5f
commit
f4f53f08f5
@ -1072,7 +1072,7 @@ getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs,
|
||||
|
||||
if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) {
|
||||
// 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 &&
|
||||
TRI->getLLVMRegNum(FramePointerReg, IsEH) != X86::RBP)
|
||||
// The frame pointer isn't EBP/RBP. Cannot make unwind information
|
||||
|
Loading…
Reference in New Issue
Block a user