mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
Remove isSubroutineType test for isCompositeType, getTag() is enough.
llvm-svn: 224621
This commit is contained in:
parent
58a6d7bb13
commit
e069d80b3c
@ -166,7 +166,7 @@ uint64_t DIExpression::getPieceSize() const {
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
bool DIDescriptor::isSubroutineType() const {
|
||||
return isCompositeType() && getTag() == dwarf::DW_TAG_subroutine_type;
|
||||
return DbgNode && getTag() == dwarf::DW_TAG_subroutine_type;
|
||||
}
|
||||
|
||||
bool DIDescriptor::isBasicType() const {
|
||||
|
Loading…
Reference in New Issue
Block a user