improve iplist comments. Switch iplist from allocating its sentinal object (for
authorChris Lattner <sabre@nondot.org>
Fri, 17 Aug 2007 16:49:19 +0000 (16:49 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 17 Aug 2007 16:49:19 +0000 (16:49 +0000)
commit6de84985a434bfd6e55323ad5cd9959d15aa554a
treeeccbc1dfaa497e17999b6634b1a45c7c62a20e95
parentfd273b6ed51494a99b585a92e60cdc68102fe371
improve iplist comments.  Switch iplist from allocating its sentinal object (for
end()) eagerly to allocating it lazily.  This saves a lot of memory for JIT applications
that read a module but don't materialize most of the functions (e.g. 62K for 252.eon).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41142 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ilist