diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-02-26 00:24:25 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-02-26 00:24:25 +0000 |
commit | 69bc7383a9f23982786ab08c393c702f6b56d5be (patch) | |
tree | acde8b9376fd785bdaab1753165ead66bd8fe62c /lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | f03e5e946d880a174fdad63bd5658f27e926eb98 (diff) | |
download | external_llvm-69bc7383a9f23982786ab08c393c702f6b56d5be.zip external_llvm-69bc7383a9f23982786ab08c393c702f6b56d5be.tar.gz external_llvm-69bc7383a9f23982786ab08c393c702f6b56d5be.tar.bz2 |
And should use the correct variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index bdb1c52..c3cbd62 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; } |