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:
Gabor Greif 2009-03-04 21:54:31 +00:00
parent 508d338fee
commit f3841fcbd5
6 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,7 @@ template<> struct ilist_traits<Instruction>
Instruction *provideInitialHead() const { return createSentinel(); } Instruction *provideInitialHead() const { return createSentinel(); }
Instruction *ensureHead(Instruction*) const { return createSentinel(); } Instruction *ensureHead(Instruction*) const { return createSentinel(); }
static void noteHead(Instruction*, Instruction*) {}
static iplist<Instruction> &getList(BasicBlock *BB); static iplist<Instruction> &getList(BasicBlock *BB);
static ValueSymbolTable *getSymTab(BasicBlock *ItemParent); static ValueSymbolTable *getSymTab(BasicBlock *ItemParent);

View File

@ -40,6 +40,7 @@ public:
MachineInstr *provideInitialHead() const { return createSentinel(); } MachineInstr *provideInitialHead() const { return createSentinel(); }
MachineInstr *ensureHead(MachineInstr*) const { return createSentinel(); } MachineInstr *ensureHead(MachineInstr*) const { return createSentinel(); }
static void noteHead(MachineInstr*, MachineInstr*) {}
void addNodeToList(MachineInstr* N); void addNodeToList(MachineInstr* N);
void removeNodeFromList(MachineInstr* N); void removeNodeFromList(MachineInstr* N);

View File

@ -48,6 +48,7 @@ public:
MachineBasicBlock *ensureHead(MachineBasicBlock*) const { MachineBasicBlock *ensureHead(MachineBasicBlock*) const {
return createSentinel(); return createSentinel();
} }
static void noteHead(MachineBasicBlock*, MachineBasicBlock*) {}
void addNodeToList(MachineBasicBlock* MBB); void addNodeToList(MachineBasicBlock* MBB);
void removeNodeFromList(MachineBasicBlock* MBB); void removeNodeFromList(MachineBasicBlock* MBB);

View File

@ -48,6 +48,7 @@ public:
SDNode *provideInitialHead() const { return createSentinel(); } SDNode *provideInitialHead() const { return createSentinel(); }
SDNode *ensureHead(SDNode*) const { return createSentinel(); } SDNode *ensureHead(SDNode*) const { return createSentinel(); }
static void noteHead(SDNode*, SDNode*) {}
static void deleteNode(SDNode *) { static void deleteNode(SDNode *) {
assert(0 && "ilist_traits<SDNode> shouldn't see a deleteNode call!"); assert(0 && "ilist_traits<SDNode> shouldn't see a deleteNode call!");

View File

@ -41,6 +41,7 @@ template<> struct ilist_traits<BasicBlock>
BasicBlock *provideInitialHead() const { return createSentinel(); } BasicBlock *provideInitialHead() const { return createSentinel(); }
BasicBlock *ensureHead(BasicBlock*) const { return createSentinel(); } BasicBlock *ensureHead(BasicBlock*) const { return createSentinel(); }
static void noteHead(BasicBlock*, BasicBlock*) {}
static iplist<BasicBlock> &getList(Function *F); static iplist<BasicBlock> &getList(Function *F);
static ValueSymbolTable *getSymTab(Function *ItemParent); static ValueSymbolTable *getSymTab(Function *ItemParent);
@ -59,6 +60,7 @@ template<> struct ilist_traits<Argument>
Argument *provideInitialHead() const { return createSentinel(); } Argument *provideInitialHead() const { return createSentinel(); }
Argument *ensureHead(Argument*) const { return createSentinel(); } Argument *ensureHead(Argument*) const { return createSentinel(); }
static void noteHead(Argument*, Argument*) {}
static iplist<Argument> &getList(Function *F); static iplist<Argument> &getList(Function *F);
static ValueSymbolTable *getSymTab(Function *ItemParent); static ValueSymbolTable *getSymTab(Function *ItemParent);

View File

@ -48,6 +48,7 @@ struct ilist_traits<RecyclerStruct> : ilist_default_traits<RecyclerStruct> {
RecyclerStruct *provideInitialHead() const { return createSentinel(); } RecyclerStruct *provideInitialHead() const { return createSentinel(); }
RecyclerStruct *ensureHead(RecyclerStruct*) const { return createSentinel(); } RecyclerStruct *ensureHead(RecyclerStruct*) const { return createSentinel(); }
static void noteHead(RecyclerStruct*, RecyclerStruct*) {}
static void deleteNode(RecyclerStruct *) { static void deleteNode(RecyclerStruct *) {
assert(0 && "Recycler's ilist_traits shouldn't see a deleteNode call!"); assert(0 && "Recycler's ilist_traits shouldn't see a deleteNode call!");