mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 04:34:41 +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) {
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user