diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-06-23 21:55:11 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-06-23 21:55:11 +0000 |
commit | 86dd4cf5a1a3e39c1dc2c59982013a7259285689 (patch) | |
tree | e1508899a4905254fa6e7b769c43b88b27743904 /compiler-rt/lib/safestack/safestack.cc | |
parent | f1ba14104131debcaaef46f843d472b38e4882f5 (diff) | |
download | bcm5719-llvm-86dd4cf5a1a3e39c1dc2c59982013a7259285689.tar.gz bcm5719-llvm-86dd4cf5a1a3e39c1dc2c59982013a7259285689.zip |
Devirtualize Constant::destroyConstant.
This reorganizes destroyConstant and destroyConstantImpl.
Now there is only destroyConstant in Constant itself, while
subclasses are required to implement destroyConstantImpl.
destroyConstantImpl no longer calls delete but is instead only
responsible for removing the constant from any maps in which it
is contained.
Reviewed by Duncan Exon Smith.
llvm-svn: 240471
Diffstat (limited to 'compiler-rt/lib/safestack/safestack.cc')
0 files changed, 0 insertions, 0 deletions