We are not using FoldingSet for metadata uniquing anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-08-10 18:59:07 +00:00
parent 77547befdc
commit d7de19ad7b
2 changed files with 1 additions and 15 deletions

View File

@@ -76,11 +76,6 @@ MDNode::MDNode(Value*const* Vals, unsigned NumVals)
}
}
void MDNode::Profile(FoldingSetNodeID &ID) const {
for (const_elem_iterator I = elem_begin(), E = elem_end(); I != E; ++I)
ID.AddPointer(*I);
}
MDNode *MDNode::get(LLVMContext &Context, Value*const* Vals, unsigned NumVals) {
LLVMContextImpl *pImpl = Context.pImpl;
std::vector<Value*> V;