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:
parent
788d3707a8
commit
30d82f42c4
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user