summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2014-12-17 01:56:51 +0000
committerNick Lewycky <nicholas@mxc.ca>2014-12-17 01:56:51 +0000
commit52ee5e446b65a291e999a72bfbac2be6bf3a7d2e (patch)
treecf2e1cc1c951610c7578451976aee41ffbb70faa
parentb2dcac0bb73d017febe9d911ea1640dd3ed0f1c5 (diff)
downloadbcm5719-llvm-52ee5e446b65a291e999a72bfbac2be6bf3a7d2e.tar.gz
bcm5719-llvm-52ee5e446b65a291e999a72bfbac2be6bf3a7d2e.zip
Delete debugging cruft that crept in with r223802.
llvm-svn: 224407
-rw-r--r--llvm/lib/IR/Metadata.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/IR/Metadata.cpp b/llvm/lib/IR/Metadata.cpp
index b45d0e393bd..936c129662d 100644
--- a/llvm/lib/IR/Metadata.cpp
+++ b/llvm/lib/IR/Metadata.cpp
@@ -839,8 +839,6 @@ unsigned NamedMDNode::getNumOperands() const {
MDNode *NamedMDNode::getOperand(unsigned i) const {
assert(i < getNumOperands() && "Invalid Operand number!");
auto *N = getNMDOps(Operands)[i].get();
- if (N && i > 10000)
- N->dump();
return cast_or_null<MDNode>(N);
}
@@ -1051,4 +1049,3 @@ void Instruction::clearMetadataHashEntries() {
getContext().pImpl->MetadataStore.erase(this);
setHasMetadataHashEntry(false);
}
-
OpenPOWER on IntegriCloud