summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-04-10 18:13:13 +0000
committerJustin Bogner <mail@justinbogner.com>2014-04-10 18:13:13 +0000
commitc16e066e7696410806913a576ed74831c09cd65c (patch)
treea29f8ce95707a76836ffb5832151e904b865dbde /lib/CodeGen/CodeGenModule.h
parent38be8455c4c7ff6a988d624d71cc0029150d59e4 (diff)
downloadclang-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/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions