aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
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
commit5b1ea3eb232254940051f5b9a16e47fc184e2668 (patch)
tree59607392389dfb09f9fb78a20505811abdb0a1df /include/llvm/CodeGen
parent2b116c93b384283524cd6a741193bfa50898a005 (diff)
downloadexternal_llvm-5b1ea3eb232254940051f5b9a16e47fc184e2668.tar.gz
external_llvm-5b1ea3eb232254940051f5b9a16e47fc184e2668.tar.bz2
external_llvm-5b1ea3eb232254940051f5b9a16e47fc184e2668.zip
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
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h1
-rw-r--r--include/llvm/CodeGen/MachineFunction.h1
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h1
3 files changed, 3 insertions, 0 deletions
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!");