aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16DebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-08-31 18:49:10 +0000
committerDevang Patel <dpatel@apple.com>2009-08-31 18:49:10 +0000
commit56843af6f90e5bdf7d79a271d2406f57e6674122 (patch)
tree66dbad38919af9011cc13cfbcd034312a27f4d97 /lib/Target/PIC16/PIC16DebugInfo.cpp
parent4cfaf41d499ce05b11ecb62746c3e86b04440f62 (diff)
downloadexternal_llvm-56843af6f90e5bdf7d79a271d2406f57e6674122.zip
external_llvm-56843af6f90e5bdf7d79a271d2406f57e6674122.tar.gz
external_llvm-56843af6f90e5bdf7d79a271d2406f57e6674122.tar.bz2
Simplify isDerivedType() and other predicate interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16DebugInfo.cpp')
-rw-r--r--lib/Target/PIC16/PIC16DebugInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PIC16/PIC16DebugInfo.cpp b/lib/Target/PIC16/PIC16DebugInfo.cpp
index 4dcd84d..3499e5c 100644
--- a/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/lib/Target/PIC16/PIC16DebugInfo.cpp
@@ -28,11 +28,11 @@ using namespace llvm;
void PIC16DbgInfo::PopulateDebugInfo (DIType Ty, unsigned short &TypeNo,
bool &HasAux, int Aux[],
std::string &TagName) {
- if (Ty.isBasicType(Ty.getTag()))
+ if (Ty.isBasicType())
PopulateBasicTypeInfo (Ty, TypeNo);
- else if (Ty.isDerivedType(Ty.getTag()))
+ else if (Ty.isDerivedType())
PopulateDerivedTypeInfo (Ty, TypeNo, HasAux, Aux, TagName);
- else if (Ty.isCompositeType(Ty.getTag()))
+ else if (Ty.isCompositeType())
PopulateCompositeTypeInfo (Ty, TypeNo, HasAux, Aux, TagName);
else {
TypeNo = PIC16Dbg::T_NULL;