summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-02-26 00:24:25 +0000
committerBill Wendling <isanbard@gmail.com>2010-02-26 00:24:25 +0000
commit6f14f6a962b5d7f925c0a04606ca0264a666b61d (patch)
tree58b01d7017dd770032e59f00477aa8f5fac00572 /llvm/lib/CodeGen
parent47c32692363d28a0c29242da530cc75ea034b32d (diff)
downloadbcm5719-llvm-6f14f6a962b5d7f925c0a04606ca0264a666b61d.tar.gz
bcm5719-llvm-6f14f6a962b5d7f925c0a04606ca0264a666b61d.zip
And should use the correct variable.
llvm-svn: 97193
Diffstat (limited to 'llvm/lib/CodeGen')
-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