diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-25 16:00:35 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-25 16:00:35 +0000 |
commit | 63a03cf58505aa839f721f212cd1518ebf133979 (patch) | |
tree | 4ac56bba954094c78fe415821f69455a01c4c20a /test/DebugInfo | |
parent | 0cabaa54e512420f3057ffe781ff317ecb9196ed (diff) | |
download | llvm-63a03cf58505aa839f721f212cd1518ebf133979.tar.gz llvm-63a03cf58505aa839f721f212cd1518ebf133979.tar.bz2 llvm-63a03cf58505aa839f721f212cd1518ebf133979.tar.xz |
Allocate the basic types inside the LLVMContextImpl instance,
rather than separately with new. Move the members above the
TypeMap members to avoid destruction order issues. This fixes
a leak of these objects, and eliminates an extra level of
indirection in Type::getInt32Ty and friends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
0 files changed, 0 insertions, 0 deletions