OSDN Git Service

Adjust to ilist changes.
authorChris Lattner <sabre@nondot.org>
Sat, 29 Jan 2005 18:43:28 +0000 (18:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 29 Jan 2005 18:43:28 +0000 (18:43 +0000)
commit02accaeb172fbe179fe20eafa6172606d0c9eae1
treefb4d9e77525fb8ed4156752a8e6d6e01e39f5bf9
parent9d5d7598db72c00a0fb89dc77198e4f6ebc5294d
Adjust to ilist changes.

Based on the ilist changes avoid allocating an entire Use object for the
end of the Use chain.  This saves 8 bytes of memory for each Value allocated
in the program.  For 176.gcc, this reduces us from 69.5M -> 66.0M, a 5.3%
memory savings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19925 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Use.h