mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
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:
parent
436ae7423d
commit
8f1414458d
@ -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
Block a user