And should use the correct variable.
authorBill Wendling <isanbard@gmail.com>
Fri, 26 Feb 2010 00:24:25 +0000 (00:24 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 26 Feb 2010 00:24:25 +0000 (00:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97193 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfException.cpp

index bdb1c5289749daf0ac1cd81669bd44b88ee4646a..c3cbd62365a6559399f655f0ca4fa1c37bfb80c8 100644 (file)
@@ -758,7 +758,7 @@ void DwarfException::EmitExceptionTable() {
     if (OffsetSize != TTypeBaseOffsetSize) {
       assert((int)OffsetSize - (int)TTypeBaseOffsetSize);
       TTypeBaseOverflow = OffsetSize - TTypeBaseOffsetSize;
-      assert(SizeAlign >= TTypeBaseOffsetSize);
+      assert(SizeAlign >= TTypeBaseOverflow);
       SizeAlign -= TTypeBaseOverflow;
     }