commit | f03e5e946d880a174fdad63bd5658f27e926eb98 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Fri Feb 26 00:22:42 2010 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Fri Feb 26 00:22:42 2010 +0000 |
tree | 0ccbbc61d7523dc1cc02b7a3d24f73001e04c9d5 | |
parent | b2053dfe9b3c1701e0a918b5bc762fa0cb7b51d4 [diff] [blame] |
Got assertion check backwards. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97192 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index 7efa642..bdb1c52 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -758,7 +758,7 @@ if (OffsetSize != TTypeBaseOffsetSize) { assert((int)OffsetSize - (int)TTypeBaseOffsetSize); TTypeBaseOverflow = OffsetSize - TTypeBaseOffsetSize; - assert(TTypeBaseOffsetSize >= SizeAlign); + assert(SizeAlign >= TTypeBaseOffsetSize); SizeAlign -= TTypeBaseOverflow; }