From 351acd7147a644a775e2ded06a6165dceefa3b29 Mon Sep 17 00:00:00 2001 From: Easwaran Raman Date: Mon, 20 Jun 2016 20:48:32 +0000 Subject: Remove MaxFunctionCount module flag annotation. Differential revision: http://reviews.llvm.org/D19184 llvm-svn: 273198 --- clang/lib/CodeGen/CodeGenModule.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') 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); -- cgit v1.2.3