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/CodeGen/MachineBasicBlock.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/CodeGen/MachineBasicBlock.h')
-rw-r--r-- | include/llvm/CodeGen/MachineBasicBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 56b96ea872..c7a29c22b7 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -26,7 +26,7 @@ class MachineFunction; template <> struct ilist_traits<MachineInstr> : public ilist_default_traits<MachineInstr> { private: - mutable ilist_node<MachineInstr> Sentinel; + mutable ILIST_NODE<MachineInstr> Sentinel; // this is only set by the MachineBasicBlock owning the LiveList friend class MachineBasicBlock; |