summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenPGO.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-10-02 16:04:18 +0000
committerJustin Bogner <mail@justinbogner.com>2014-10-02 16:04:18 +0000
commit94eabf58bdf342eaec7576599ce094208f8cc16c (patch)
treebf71e86598afd248a72e09db51466c4b18439572 /clang/lib/CodeGen/CodeGenPGO.cpp
parentd6a9e4b3bea625545cebdcd6247e78a922211a9d (diff)
downloadbcm5719-llvm-94eabf58bdf342eaec7576599ce094208f8cc16c.tar.gz
bcm5719-llvm-94eabf58bdf342eaec7576599ce094208f8cc16c.zip
InstrProf: Update for the LLVM API change in r218879
llvm-svn: 218880
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp
index d341baf523c..2f1f211b72c 100644
--- a/clang/lib/CodeGen/CodeGenPGO.cpp
+++ b/clang/lib/CodeGen/CodeGenPGO.cpp
@@ -908,8 +908,7 @@ void CodeGenPGO::emitCounterRegionMapping(const Decl *D) {
llvm::raw_string_ostream OS(CoverageMapping);
CoverageMappingGen MappingGen(*CGM.getCoverageMapping(),
CGM.getContext().getSourceManager(),
- CGM.getLangOpts(), RegionCounterMap.get(),
- NumRegionCounters);
+ CGM.getLangOpts(), RegionCounterMap.get());
MappingGen.emitCounterMapping(D, OS);
OS.flush();
}
OpenPOWER on IntegriCloud