From 6c6c5e70e38b372e90e9eeb19544a06d8668cc6d Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 26 Feb 2010 00:24:25 +0000 Subject: [PATCH] And should use the correct variable. llvm-svn: 97193 --- lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }