diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-03-09 07:09:01 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-03-09 07:09:01 +0000 |
commit | 5c3e7b171898612066afc86b8fa850cc32a0cd40 (patch) | |
tree | f7dfa002740a61b5f15799b84cd8e9e7df711358 /include/llvm/Function.h | |
parent | bf65de131f5093dc9080cb3eddf7dc0c3500e4a3 (diff) |
in builds without asserts we do not need to allocate the Next pointer in "ghostly" sentinels
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66415 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index ccc006cfcf..47273439c1 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -45,7 +45,7 @@ template<> struct ilist_traits<BasicBlock> static ValueSymbolTable *getSymTab(Function *ItemParent); private: - mutable ilist_node<BasicBlock> Sentinel; + mutable ILIST_NODE<BasicBlock> Sentinel; }; template<> struct ilist_traits<Argument> @@ -62,7 +62,7 @@ template<> struct ilist_traits<Argument> static ValueSymbolTable *getSymTab(Function *ItemParent); private: - mutable ilist_node<Argument> Sentinel; + mutable ILIST_NODE<Argument> Sentinel; }; class Function : public GlobalValue, public Annotable, |