diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-04-10 18:13:13 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-04-10 18:13:13 +0000 |
| commit | c16e066e7696410806913a576ed74831c09cd65c (patch) | |
| tree | a29f8ce95707a76836ffb5832151e904b865dbde /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 38be8455c4c7ff6a988d624d71cc0029150d59e4 (diff) | |
| download | clang-c16e066e7696410806913a576ed74831c09cd65c.tar.gz clang-c16e066e7696410806913a576ed74831c09cd65c.tar.bz2 clang-c16e066e7696410806913a576ed74831c09cd65c.tar.xz | |
CodeGen: Move PGO initialization into Release()
Emitting the PGO initialization in EmitGlobalFunctionDefinition is
inefficient, since this only has an effect once per module. We move
this to Release() with the rest of the once-per-module logic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
