diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-03-04 21:54:31 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-03-04 21:54:31 +0000 |
commit | f3841fcbd587c31aa9842b3f33bd57de40c9f443 (patch) | |
tree | 59607392389dfb09f9fb78a20505811abdb0a1df /include/llvm/Function.h | |
parent | 508d338feed773e20e1ca82ed0ff595f75e33e8b (diff) |
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/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); |