mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
[CodeView] Fix a busted assert in TypeTableBuilder::writeClass
It was checking for Union when it should have checked for Interface. llvm-svn: 271792
This commit is contained in:
parent
838aba6c09
commit
08e81eef3f
@ -104,7 +104,7 @@ TypeIndex TypeTableBuilder::writeArray(const ArrayRecord &Record) {
|
|||||||
TypeIndex TypeTableBuilder::writeClass(const ClassRecord &Record) {
|
TypeIndex TypeTableBuilder::writeClass(const ClassRecord &Record) {
|
||||||
assert((Record.getKind() == TypeRecordKind::Struct) ||
|
assert((Record.getKind() == TypeRecordKind::Struct) ||
|
||||||
(Record.getKind() == TypeRecordKind::Class) ||
|
(Record.getKind() == TypeRecordKind::Class) ||
|
||||||
(Record.getKind() == TypeRecordKind::Union));
|
(Record.getKind() == TypeRecordKind::Interface));
|
||||||
|
|
||||||
TypeRecordBuilder Builder(Record.getKind());
|
TypeRecordBuilder Builder(Record.getKind());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user