summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Verifier.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-17 21:32:46 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-17 21:32:46 +0000
commit719994b90739c3665e05e625b1bbbd2aa2190fea (patch)
tree85576404936dd304d8a6c42b65fb8bce3a1cd007 /llvm/lib/IR/Verifier.cpp
parent7fce7e62db29e3b3e2ed32cc1997aafb2f57781e (diff)
downloadbcm5719-llvm-719994b90739c3665e05e625b1bbbd2aa2190fea.tar.gz
bcm5719-llvm-719994b90739c3665e05e625b1bbbd2aa2190fea.zip
DebugInfo: Drop fake DW_TAG_expression
Break MDExpression off of DebugNode (inherit directly from `MDNode`) and drop the fake `DW_TAG_expression` tag in the process. AFAICT, there's no real functionality change here. The tag was originally used by `DIDescriptor::isExpression()` to discriminate between `MDNode`s, but in the new hierarchy we don't need that. Fixes PR22780. llvm-svn: 232550
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r--llvm/lib/IR/Verifier.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index b2711a439b6..219a7aa16a4 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/lib/IR/Verifier.cpp
@@ -754,7 +754,6 @@ void Verifier::visitMDLocalVariable(const MDLocalVariable &N) {
}
void Verifier::visitMDExpression(const MDExpression &N) {
- Assert(N.getTag() == dwarf::DW_TAG_expression, "invalid tag", &N);
Assert(N.isValid(), "invalid expression", &N);
}
OpenPOWER on IntegriCloud