summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-03-17 18:51:01 +0000
committerDan Gohman <gohman@apple.com>2010-03-17 18:51:01 +0000
commit0afc29c3e6ba240ee187fd34ba1ecbe1175c879e (patch)
tree129fc3c259d89f2819f514e055a4e825bfc53a61 /unittests
parentf9cf8b35bb525ba68cb8e49bab8a960094e0891a (diff)
downloadllvm-0afc29c3e6ba240ee187fd34ba1ecbe1175c879e.tar.gz
llvm-0afc29c3e6ba240ee187fd34ba1ecbe1175c879e.tar.bz2
llvm-0afc29c3e6ba240ee187fd34ba1ecbe1175c879e.tar.xz
Change SCEVNAryExpr's operand array from a SmallVector to a plain
pointer and length, and allocate the arrays in ScalarEvolution's BumpPtrAllocator, so that they get released when their owning SCEV gets released. SCEVs are immutable, so they don't need to worry about operand array resizing. This fixes a memory leak reported in PR6637. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions