mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
ooops, forgot to include the pointless-write eliminator in my previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66081 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
508d338fee
commit
f3841fcbd5
@ -44,6 +44,7 @@ template<> struct ilist_traits<Instruction>
|
||||
|
||||
Instruction *provideInitialHead() const { return createSentinel(); }
|
||||
Instruction *ensureHead(Instruction*) const { return createSentinel(); }
|
||||
static void noteHead(Instruction*, Instruction*) {}
|
||||
|
||||
static iplist<Instruction> &getList(BasicBlock *BB);
|
||||
static ValueSymbolTable *getSymTab(BasicBlock *ItemParent);
|
||||
|
@ -40,6 +40,7 @@ public:
|
||||
|
||||
MachineInstr *provideInitialHead() const { return createSentinel(); }
|
||||
MachineInstr *ensureHead(MachineInstr*) const { return createSentinel(); }
|
||||
static void noteHead(MachineInstr*, MachineInstr*) {}
|
||||
|
||||
void addNodeToList(MachineInstr* N);
|
||||
void removeNodeFromList(MachineInstr* N);
|
||||
|
@ -48,6 +48,7 @@ public:
|
||||
MachineBasicBlock *ensureHead(MachineBasicBlock*) const {
|
||||
return createSentinel();
|
||||
}
|
||||
static void noteHead(MachineBasicBlock*, MachineBasicBlock*) {}
|
||||
|
||||
void addNodeToList(MachineBasicBlock* MBB);
|
||||
void removeNodeFromList(MachineBasicBlock* MBB);
|
||||
|
@ -48,6 +48,7 @@ public:
|
||||
|
||||
SDNode *provideInitialHead() const { return createSentinel(); }
|
||||
SDNode *ensureHead(SDNode*) const { return createSentinel(); }
|
||||
static void noteHead(SDNode*, SDNode*) {}
|
||||
|
||||
static void deleteNode(SDNode *) {
|
||||
assert(0 && "ilist_traits<SDNode> shouldn't see a deleteNode call!");
|
||||
|
@ -41,6 +41,7 @@ template<> struct ilist_traits<BasicBlock>
|
||||
|
||||
BasicBlock *provideInitialHead() const { return createSentinel(); }
|
||||
BasicBlock *ensureHead(BasicBlock*) const { return createSentinel(); }
|
||||
static void noteHead(BasicBlock*, BasicBlock*) {}
|
||||
|
||||
static iplist<BasicBlock> &getList(Function *F);
|
||||
static ValueSymbolTable *getSymTab(Function *ItemParent);
|
||||
@ -59,6 +60,7 @@ template<> struct ilist_traits<Argument>
|
||||
|
||||
Argument *provideInitialHead() const { return createSentinel(); }
|
||||
Argument *ensureHead(Argument*) const { return createSentinel(); }
|
||||
static void noteHead(Argument*, Argument*) {}
|
||||
|
||||
static iplist<Argument> &getList(Function *F);
|
||||
static ValueSymbolTable *getSymTab(Function *ItemParent);
|
||||
|
@ -48,6 +48,7 @@ struct ilist_traits<RecyclerStruct> : ilist_default_traits<RecyclerStruct> {
|
||||
|
||||
RecyclerStruct *provideInitialHead() const { return createSentinel(); }
|
||||
RecyclerStruct *ensureHead(RecyclerStruct*) const { return createSentinel(); }
|
||||
static void noteHead(RecyclerStruct*, RecyclerStruct*) {}
|
||||
|
||||
static void deleteNode(RecyclerStruct *) {
|
||||
assert(0 && "Recycler's ilist_traits shouldn't see a deleteNode call!");
|
||||
|
Loading…
Reference in New Issue
Block a user