summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJakub Kuderski <kubakuderski@gmail.com>2017-07-26 18:27:39 +0000
committerJakub Kuderski <kubakuderski@gmail.com>2017-07-26 18:27:39 +0000
commit40f59b8596cf168759948b15a1c0701531087a32 (patch)
tree4d92e13ebd93fb930227cb0ece4c718b08f86d4e /clang/lib/CodeGen/CodeGenFunction.cpp
parent2cfff07a42a42f2ed7ed81334a11d4aa20259ab9 (diff)
downloadbcm5719-llvm-40f59b8596cf168759948b15a1c0701531087a32.tar.gz
bcm5719-llvm-40f59b8596cf168759948b15a1c0701531087a32.zip
[Dominators] Change Roots type to SmallVector
Summary: We can use the template parameter `IsPostDom` to pick an appropriate SmallVector size to store DomTree roots for dominators and postdominators. Before, the code would always allocate memory with `std::vector`. Reviewers: dberlin, davide, sanjoy, grosser Reviewed By: grosser Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D35636 llvm-svn: 309148
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud