aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-12-01 00:07:10 +0000
committerTed Kremenek <kremenek@apple.com>2009-12-01 00:07:10 +0000
commitf8c12a3039f7f03f0ef3d4d6016300188d4ae5e0 (patch)
tree202097930ead53294d08688c8f36266aa42f6077 /llvm/lib/CodeGen/MachineInstr.cpp
parentee536b0ea4c9fbb9eb8a37782353986cff06fe3f (diff)
downloadllvm-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