summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index bdb1c528974..c3cbd62365a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud