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 | faa16f9b73fc58b910dcde866f9c8ff82fda1a43 (patch) | |
tree | f7dfa002740a61b5f15799b84cd8e9e7df711358 /include/llvm/CodeGen/SelectionDAG.h | |
parent | 1245216b5ed0a036785350b217dce8ee3260202d (diff) | |
download | external_llvm-faa16f9b73fc58b910dcde866f9c8ff82fda1a43.zip external_llvm-faa16f9b73fc58b910dcde866f9c8ff82fda1a43.tar.gz external_llvm-faa16f9b73fc58b910dcde866f9c8ff82fda1a43.tar.bz2 |
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/CodeGen/SelectionDAG.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 7e81e02..27da9e6 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -39,7 +39,7 @@ class FunctionLoweringInfo; template<> struct ilist_traits<SDNode> : public ilist_default_traits<SDNode> { private: - mutable ilist_node<SDNode> Sentinel; + mutable ILIST_NODE<SDNode> Sentinel; public: SDNode *createSentinel() const { return static_cast<SDNode*>(&Sentinel); |