diff options
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/MachineBasicBlock.h | 1 | ||||
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 1 | ||||
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 1 |
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!"); |