mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 15:41:05 +00:00
[CodeView] Fix a busted assert in TypeTableBuilder::writeClass
It was checking for Union when it should have checked for Interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
667f3f9a9e
commit
0fddcc6bc2
@ -104,7 +104,7 @@ TypeIndex TypeTableBuilder::writeArray(const ArrayRecord &Record) {
|
||||
TypeIndex TypeTableBuilder::writeClass(const ClassRecord &Record) {
|
||||
assert((Record.getKind() == TypeRecordKind::Struct) ||
|
||||
(Record.getKind() == TypeRecordKind::Class) ||
|
||||
(Record.getKind() == TypeRecordKind::Union));
|
||||
(Record.getKind() == TypeRecordKind::Interface));
|
||||
|
||||
TypeRecordBuilder Builder(Record.getKind());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user