summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2016-06-20 20:48:32 +0000
committerEaswaran Raman <eraman@google.com>2016-06-20 20:48:32 +0000
commit351acd7147a644a775e2ded06a6165dceefa3b29 (patch)
tree428ca27e0b7f60657ea2719b82e69b438c73a9dc /clang/lib/CodeGen/CodeGenModule.cpp
parent2263512a6cbe411e8fe0cd30b6a465679e291d28 (diff)
downloadbcm5719-llvm-351acd7147a644a775e2ded06a6165dceefa3b29.tar.gz
bcm5719-llvm-351acd7147a644a775e2ded06a6165dceefa3b29.zip
Remove MaxFunctionCount module flag annotation.
Differential revision: http://reviews.llvm.org/D19184 llvm-svn: 273198
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index ad551d213cb..a8abe72702e 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -393,7 +393,6 @@ void CodeGenModule::Release() {
OpenMPRuntime->emitRegistrationFunction())
AddGlobalCtor(OpenMPRegistrationFunction, 0);
if (PGOReader) {
- getModule().setMaximumFunctionCount(PGOReader->getMaximumFunctionCount());
getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext));
if (PGOStats.hasDiagnostics())
PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName);
OpenPOWER on IntegriCloud