1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Got assertion check backwards.

llvm-svn: 97192
This commit is contained in:
Bill Wendling 2010-02-26 00:22:42 +00:00
parent 788d3707a8
commit 30d82f42c4

View File

@ -758,7 +758,7 @@ void DwarfException::EmitExceptionTable() {
if (OffsetSize != TTypeBaseOffsetSize) { if (OffsetSize != TTypeBaseOffsetSize) {
assert((int)OffsetSize - (int)TTypeBaseOffsetSize); assert((int)OffsetSize - (int)TTypeBaseOffsetSize);
TTypeBaseOverflow = OffsetSize - TTypeBaseOffsetSize; TTypeBaseOverflow = OffsetSize - TTypeBaseOffsetSize;
assert(TTypeBaseOffsetSize >= SizeAlign); assert(SizeAlign >= TTypeBaseOffsetSize);
SizeAlign -= TTypeBaseOverflow; SizeAlign -= TTypeBaseOverflow;
} }