diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp index b45d0e393bd..936c129662d 100644 --- a/lib/IR/Metadata.cpp +++ b/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(N); } @@ -1051,4 +1049,3 @@ void Instruction::clearMetadataHashEntries() { getContext().pImpl->MetadataStore.erase(this); setHasMetadataHashEntry(false); } -