diff options
author | Xinliang David Li <davidxl@google.com> | 2016-05-17 21:06:16 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-05-17 21:06:16 +0000 |
commit | 3c661ab452bea42dbd31a79a60b5dbd2fb1c1682 (patch) | |
tree | a3ec14b130678cfdcf493e0d239bc1de99845e10 /include | |
parent | fc99ce006229c405de26f7fd283f35119899010b (diff) |
minor cleanup /NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/PGOInstrumentation.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Transforms/PGOInstrumentation.h b/include/llvm/Transforms/PGOInstrumentation.h index a3ca532130b..f6b5639e5aa 100644 --- a/include/llvm/Transforms/PGOInstrumentation.h +++ b/include/llvm/Transforms/PGOInstrumentation.h @@ -38,9 +38,8 @@ private: /// The indirect function call promotion pass. class PGOIndirectCallPromotion : public PassInfoMixin<PGOIndirectCallPromotion> { public: - PGOIndirectCallPromotion() : InLTO(false) {} + PGOIndirectCallPromotion(bool IsInLTO = false) : InLTO(IsInLTO) {} PreservedAnalyses run(Module &M, AnalysisManager<Module> &AM); - void setInLTO() { InLTO = true; } private: bool InLTO; }; |