diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-10-02 16:44:01 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-10-02 16:44:01 +0000 |
| commit | e5ee6c58d78b625da3356e27569762fb150e972d (patch) | |
| tree | b1275958dbe00c9092b9b39a2c4f0ccbb0d888a5 /clang/lib/CodeGen/CodeGenPGO.cpp | |
| parent | f9535c418f9ce56bdd84f058e62543084b973e25 (diff) | |
| download | bcm5719-llvm-e5ee6c58d78b625da3356e27569762fb150e972d.tar.gz bcm5719-llvm-e5ee6c58d78b625da3356e27569762fb150e972d.zip | |
Reapply "InstrProf: Update for the LLVM API change in r218879"
Reapplying now that r218887 is in.
This reverts commit r218882, reapplying r218880.
llvm-svn: 218888
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenPGO.cpp | 3 |
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(); } |

