From: Bill Wendling Date: Fri, 26 Feb 2010 00:24:25 +0000 (+0000) Subject: And should use the correct variable. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fdb2be8b09f06c1124c990b959ee2dcc1008fab4;p=oota-llvm.git And should use the correct variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97193 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index bdb1c528974..c3cbd62365a 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(SizeAlign >= TTypeBaseOffsetSize); + assert(SizeAlign >= TTypeBaseOverflow); SizeAlign -= TTypeBaseOverflow; }