forked from OSchip/llvm-project
IR: Remove MDNode::getWhenValsUnresolved()
Remove dead code. Use `MDNode::get()` instead. llvm-svn: 225335
This commit is contained in:
parent
5fa3de07aa
commit
b392f51379
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue