IR: Remove MDNode::getWhenValsUnresolved()

Remove dead code.  Use `MDNode::get()` instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2015-01-07 02:10:42 +00:00
parent 436ae7423d
commit 8f1414458d

View File

@ -616,11 +616,6 @@ public:
static MDNode *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
return getMDNode(Context, MDs, true);
}
static MDNode *getWhenValsUnresolved(LLVMContext &Context,
ArrayRef<Metadata *> MDs) {
// TODO: Remove this.
return get(Context, MDs);
}
static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
return getMDNode(Context, MDs, false);