[llvm-commits] [llvm] r135014 - /llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
Bill Wendling
isanbard at gmail.com
Tue Jul 12 17:20:09 PDT 2011
Author: void
Date: Tue Jul 12 19:20:09 2011
New Revision: 135014
URL: http://llvm.org/viewvc/llvm-project?rev=135014&view=rev
Log:
Fix obvious think-o.
Modified:
llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FrameLowering.cpp?rev=135014&r1=135013&r2=135014&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FrameLowering.cpp Tue Jul 12 19:20:09 2011
@@ -1072,7 +1072,7 @@
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
More information about the llvm-commits
mailing list