summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Verifier.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-06-15 23:18:03 +0000
committerAdrian Prantl <aprantl@apple.com>2015-06-15 23:18:03 +0000
commit8ff53b3cdabb0ab1ec02ab13bb83b273f62bc94d (patch)
treefa3145fd62f592a7c2f29bf2d53d3c42b27e3717 /llvm/lib/IR/Verifier.cpp
parent3ab6669eeb64edfe31959cf65d8b27dda1ed931f (diff)
downloadbcm5719-llvm-8ff53b3cdabb0ab1ec02ab13bb83b273f62bc94d.tar.gz
bcm5719-llvm-8ff53b3cdabb0ab1ec02ab13bb83b273f62bc94d.zip
Debug Info IR: Switch DIObjCProperty to use DITypeRef.
This is a prerequisite for turning on ODR type uniquing for ObjC++. rdar://problem/21377883 llvm-svn: 239780
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r--llvm/lib/IR/Verifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index c0a8eec6c18..5fac05527bb 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/lib/IR/Verifier.cpp
@@ -1086,7 +1086,7 @@ void Verifier::visitDIExpression(const DIExpression &N) {
void Verifier::visitDIObjCProperty(const DIObjCProperty &N) {
Assert(N.getTag() == dwarf::DW_TAG_APPLE_property, "invalid tag", &N);
if (auto *T = N.getRawType())
- Assert(isa<DIType>(T), "invalid type ref", &N, T);
+ Assert(isTypeRef(N, T), "invalid type ref", &N, T);
if (auto *F = N.getRawFile())
Assert(isa<DIFile>(F), "invalid file", &N, F);
}
OpenPOWER on IntegriCloud