diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-07-13 00:20:09 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-07-13 00:20:09 +0000 |
commit | f4f53f08f554a6eac3cc1f6c84a7a639b5e647e4 (patch) | |
tree | ec682063cf1388ecc1835650eb7ad8b8f9f7dd94 /lib/Target/X86/X86FrameLowering.cpp | |
parent | 595d745f5f3ce250111ca2231569c93b43dfe8ee (diff) |
Fix obvious think-o.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r-- | lib/Target/X86/X86FrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index 87368f3a58..d30ecef0cd 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/lib/Target/X86/X86FrameLowering.cpp @@ -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 |