diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-09-30 20:37:48 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-09-30 20:37:48 +0000 |
commit | 757908e545e720a13c5391ce2eb399c4026859e2 (patch) | |
tree | d5772c4b582682ef6c028d57f9789e50b802f35b /llvm/lib/Target/X86/X86FrameLowering.cpp | |
parent | af01508cc3660061c0159d13a87f66dcb790777a (diff) | |
download | bcm5719-llvm-757908e545e720a13c5391ce2eb399c4026859e2.tar.gz bcm5719-llvm-757908e545e720a13c5391ce2eb399c4026859e2.zip |
Fix -Wsign-compare warning
llvm-svn: 248942
Diffstat (limited to 'llvm/lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86FrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp index 3257daf34a5..ca5d5702813 100644 --- a/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -730,7 +730,7 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF, if (!IsFunclet) MFI->setOffsetAdjustment(-NumBytes); else - assert(MFI->getOffsetAdjustment() == -NumBytes && + assert(MFI->getOffsetAdjustment() == -(int)NumBytes && "should calculate same local variable offset for funclets"); // Save EBP/RBP into the appropriate stack slot. |