projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a71366
)
Fix -Wsign-compare warning
author
David Blaikie
<dblaikie@gmail.com>
Wed, 30 Sep 2015 20:37:48 +0000
(20:37 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Wed, 30 Sep 2015 20:37:48 +0000
(20:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248942
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86FrameLowering.cpp
b/lib/Target/X86/X86FrameLowering.cpp
index 3257daf34a58831c47bc8006de727af7c3a8cb38..ca5d57028138b906aef30dfe8cc09e6766a0374d 100644
(file)
--- a/
lib/Target/X86/X86FrameLowering.cpp
+++ b/
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.