diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-12-01 00:07:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-12-01 00:07:10 +0000 |
commit | f8c12a3039f7f03f0ef3d4d6016300188d4ae5e0 (patch) | |
tree | 202097930ead53294d08688c8f36266aa42f6077 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | ee536b0ea4c9fbb9eb8a37782353986cff06fe3f (diff) | |
download | llvm-f8c12a3039f7f03f0ef3d4d6016300188d4ae5e0.zip llvm-f8c12a3039f7f03f0ef3d4d6016300188d4ae5e0.tar.gz llvm-f8c12a3039f7f03f0ef3d4d6016300188d4ae5e0.tar.bz2 |
Allocate MultipleDC objects using the allocator associated with
ASTContext instead of malloc. Besides reducing malloc traffic, this
also removes a source of memory leaks when using a BumpPtrAllocator
for the allocator of ASTContext. There are still leaks when using
MallocAllocator because Decl::Destroy() isn't fully finished.
Fixes: <rdar://problem/7431556>
llvm-svn: 90174
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions