aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-08-06 18:29:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-08-06 18:29:32 +0000
commit4c96a5ef1c3cc45105b3b4ea21bb0835f721bb5f (patch)
tree403db304e201269a570a7b21329db4fa726df4c3 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parente86d51533d43a6d73692ddb16a061af263912ae5 (diff)
downloadllvm-4c96a5ef1c3cc45105b3b4ea21bb0835f721bb5f.zip
llvm-4c96a5ef1c3cc45105b3b4ea21bb0835f721bb5f.tar.gz
llvm-4c96a5ef1c3cc45105b3b4ea21bb0835f721bb5f.tar.bz2
Fix memory ownership in the NeonEmitter by using values instead of pointers (smart or otherwise)
Improvement to the memory leak fix in 244196. Address validity is required for the Intrinsic objects, but since the collections only ever grow (no elements are removed), deque provides sufficient guarantees (that the objects will never be reallocated/moved around) for this use case. llvm-svn: 244241
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions