summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
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
commitbc97f6b7578e70ec48533f8de15d64479e2ad829 (patch)
treee447f334d2c42aef7c8b1f10ca4f72698d3a88c8 /llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
parentadccbca23f52b36678b35839dfee5ed549b92602 (diff)
downloadbcm5719-llvm-bc97f6b7578e70ec48533f8de15d64479e2ad829.tar.gz
bcm5719-llvm-bc97f6b7578e70ec48533f8de15d64479e2ad829.zip
Revert r97947.
llvm-svn: 97963
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16DebugInfo.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
index da4e0278769..877e4ffc6d7 100644
--- a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/llvm/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 ) {
OpenPOWER on IntegriCloud