mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Verifier: Remove unnecessary references to DW_TAG_subroutine_type, NFC
Remove unnecessary references to `DW_TAG_subroutine_type` in `visitDICompositeType()` and `visitDIDerivedTypeBase()`, since `visitDISubroutineType()` doesn't call either of those (and shouldn't, since subroutine types are really quite special). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243149 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18673740dc
commit
cb21505064
@ -800,7 +800,6 @@ void Verifier::visitDIDerivedTypeBase(const DIDerivedTypeBase &N) {
|
||||
Tag == dwarf::DW_TAG_restrict_type ||
|
||||
Tag == dwarf::DW_TAG_array_type ||
|
||||
Tag == dwarf::DW_TAG_enumeration_type ||
|
||||
Tag == dwarf::DW_TAG_subroutine_type ||
|
||||
Tag == dwarf::DW_TAG_inheritance || Tag == dwarf::DW_TAG_friend ||
|
||||
Tag == dwarf::DW_TAG_structure_type ||
|
||||
Tag == dwarf::DW_TAG_member || Tag == dwarf::DW_TAG_typedef,
|
||||
@ -852,7 +851,6 @@ void Verifier::visitDICompositeType(const DICompositeType &N) {
|
||||
N.getTag() == dwarf::DW_TAG_structure_type ||
|
||||
N.getTag() == dwarf::DW_TAG_union_type ||
|
||||
N.getTag() == dwarf::DW_TAG_enumeration_type ||
|
||||
N.getTag() == dwarf::DW_TAG_subroutine_type ||
|
||||
N.getTag() == dwarf::DW_TAG_class_type,
|
||||
"invalid tag", &N);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user