diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |