summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2009-03-04 21:54:31 +0000
committerGabor Greif <ggreif@gmail.com>2009-03-04 21:54:31 +0000
commitf3841fcbd587c31aa9842b3f33bd57de40c9f443 (patch)
tree59607392389dfb09f9fb78a20505811abdb0a1df
parent508d338feed773e20e1ca82ed0ff595f75e33e8b (diff)
downloadllvm-f3841fcbd587c31aa9842b3f33bd57de40c9f443.tar.gz
llvm-f3841fcbd587c31aa9842b3f33bd57de40c9f443.tar.bz2
llvm-f3841fcbd587c31aa9842b3f33bd57de40c9f443.tar.xz
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
-rw-r--r--include/llvm/BasicBlock.h1
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h1
-rw-r--r--include/llvm/CodeGen/MachineFunction.h1
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h1
-rw-r--r--include/llvm/Function.h2
-rw-r--r--include/llvm/Support/Recycler.h1
6 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index 561dbb2791..84dc6a6626 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -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);
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index de0a4c40f1..388ca7f93b 100644
--- a/include/llvm/CodeGen/MachineBasicBlock.h
+++ b/include/llvm/CodeGen/MachineBasicBlock.h
@@ -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);
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index 7386b2b128..dc7fa8cb16 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -48,6 +48,7 @@ public:
MachineBasicBlock *ensureHead(MachineBasicBlock*) const {
return createSentinel();
}
+ static void noteHead(MachineBasicBlock*, MachineBasicBlock*) {}
void addNodeToList(MachineBasicBlock* MBB);
void removeNodeFromList(MachineBasicBlock* MBB);
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index b895242f57..7e81e02073 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -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!");
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index cb3cc939d0..db13a0fa8a 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -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);
diff --git a/include/llvm/Support/Recycler.h b/include/llvm/Support/Recycler.h
index 39c992bc53..2fa0365d5f 100644
--- a/include/llvm/Support/Recycler.h
+++ b/include/llvm/Support/Recycler.h
@@ -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!");