From: Nick Lewycky Date: Wed, 17 Dec 2014 01:56:51 +0000 (+0000) Subject: Delete debugging cruft that crept in with r223802. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7ecec5b0d4c1ef145b2382f9504bab3c6b6907eb;p=oota-llvm.git Delete debugging cruft that crept in with r223802. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224407 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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); } -