aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-03-08 19:20:38 +0000
committerDevang Patel <dpatel@apple.com>2010-03-08 19:20:38 +0000
commit0ef3fa6aabc80995c8a0bd829c85c89ef2d4c32d (patch)
treeac2bdb8ae1dae16aa3bf10c28e20c5a0ff80a1f9 /lib/Target/PIC16
parentdd6fbd11368b9d9ae82f8620a4aa7af9b8baf47c (diff)
downloadexternal_llvm-0ef3fa6aabc80995c8a0bd829c85c89ef2d4c32d.zip
external_llvm-0ef3fa6aabc80995c8a0bd829c85c89ef2d4c32d.tar.gz
external_llvm-0ef3fa6aabc80995c8a0bd829c85c89ef2d4c32d.tar.bz2
Revert r97947.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r--lib/Target/PIC16/PIC16DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16DebugInfo.cpp b/lib/Target/PIC16/PIC16DebugInfo.cpp
index da4e027..877e4ff 100644
--- a/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/lib/Target/PIC16/PIC16DebugInfo.cpp
@@ -333,7 +333,7 @@ void PIC16DbgInfo::EmitCompositeTypeDecls(Module &M) {
for (DebugInfoFinder::iterator I = DbgFinder.type_begin(),
E = DbgFinder.type_end(); I != E; ++I) {
DICompositeType CTy(*I);
- if (!CTy.Verify())
+ if (CTy.isNull())
continue;
if (CTy.getTag() == dwarf::DW_TAG_union_type ||
CTy.getTag() == dwarf::DW_TAG_structure_type ) {