aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-02-26 00:22:42 +0000
committerBill Wendling <isanbard@gmail.com>2010-02-26 00:22:42 +0000
commita88864542503fdecbb2ed3adea53545a14991dde (patch)
tree0ccbbc61d7523dc1cc02b7a3d24f73001e04c9d5 /lib/CodeGen/AsmPrinter/DwarfException.cpp
parent86f0d33f85c19af294916eacd175f6b0cd81142f (diff)
Got assertion check backwards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 7efa6429e1..bdb1c52897 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -758,7 +758,7 @@ void DwarfException::EmitExceptionTable() {
if (OffsetSize != TTypeBaseOffsetSize) {
assert((int)OffsetSize - (int)TTypeBaseOffsetSize);
TTypeBaseOverflow = OffsetSize - TTypeBaseOffsetSize;
- assert(TTypeBaseOffsetSize >= SizeAlign);
+ assert(SizeAlign >= TTypeBaseOffsetSize);
SizeAlign -= TTypeBaseOverflow;
}