[llvm] r224407 - Delete debugging cruft that crept in with r223802.
Nick Lewycky
nicholas at mxc.ca
Tue Dec 16 17:56:51 PST 2014
Author: nicholas
Date: Tue Dec 16 19:56:51 2014
New Revision: 224407
URL: http://llvm.org/viewvc/llvm-project?rev=224407&view=rev
Log:
Delete debugging cruft that crept in with r223802.
Modified:
llvm/trunk/lib/IR/Metadata.cpp
Modified: llvm/trunk/lib/IR/Metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Metadata.cpp?rev=224407&r1=224406&r2=224407&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Metadata.cpp (original)
+++ llvm/trunk/lib/IR/Metadata.cpp Tue Dec 16 19:56:51 2014
@@ -839,8 +839,6 @@ unsigned NamedMDNode::getNumOperands() c
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::clearMetadataHashEntri
getContext().pImpl->MetadataStore.erase(this);
setHasMetadataHashEntry(false);
}
-
More information about the llvm-commits
mailing list