mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Tidy.
llvm-svn: 109020
This commit is contained in:
parent
f26c7a852f
commit
328a6ebeae
@ -330,10 +330,8 @@ void MDNode::replaceOperand(MDNodeOperand *Op, Value *To) {
|
||||
// NamedMDNode implementation.
|
||||
//
|
||||
|
||||
namespace llvm {
|
||||
// SymbolTableListTraits specialization for MDSymbolTable.
|
||||
void ilist_traits<NamedMDNode>
|
||||
::addNodeToList(NamedMDNode *N) {
|
||||
void ilist_traits<NamedMDNode>::addNodeToList(NamedMDNode *N) {
|
||||
assert(N->getParent() == 0 && "Value already in a container!!");
|
||||
Module *Owner = getListOwner();
|
||||
N->setParent(Owner);
|
||||
@ -347,7 +345,6 @@ void ilist_traits<NamedMDNode>::removeNodeFromList(NamedMDNode *N) {
|
||||
MDSymbolTable &ST = Owner->getMDSymbolTable();
|
||||
ST.remove(N->getName());
|
||||
}
|
||||
}
|
||||
|
||||
static SmallVector<WeakVH, 4> &getNMDOps(void *Operands) {
|
||||
return *(SmallVector<WeakVH, 4>*)Operands;
|
||||
|
Loading…
Reference in New Issue
Block a user