summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-size
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2014-03-19 00:23:30 +0000
committerPete Cooper <peter_cooper@apple.com>2014-03-19 00:23:30 +0000
commit08a7cb1fa0dfa4e54acb973be3514a34571a1ac7 (patch)
treef7f69e6d4dbf413f235e271f33b2aabb8c80ea81 /llvm/tools/llvm-size
parent7bbd5c2636487b25715cf637a061bd5add5c9d9c (diff)
downloadbcm5719-llvm-08a7cb1fa0dfa4e54acb973be3514a34571a1ac7.tar.gz
bcm5719-llvm-08a7cb1fa0dfa4e54acb973be3514a34571a1ac7.zip
When destroying a StringMap, just iterate over the map and destroy the contained elements. Don't reset them back to 0 as their values aren't needed any more. This results in ~StringMap() being mostly empty for POD types in BumpPtrAllocators
llvm-svn: 204204
Diffstat (limited to 'llvm/tools/llvm-size')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud