diff options
Diffstat (limited to 'include/llvm/Bitcode/BitcodeWriterPass.h')
| -rw-r--r-- | include/llvm/Bitcode/BitcodeWriterPass.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/BitcodeWriterPass.h b/include/llvm/Bitcode/BitcodeWriterPass.h index 946255b878a6..9ac6fba16b96 100644 --- a/include/llvm/Bitcode/BitcodeWriterPass.h +++ b/include/llvm/Bitcode/BitcodeWriterPass.h @@ -44,7 +44,7 @@ ModulePass *createBitcodeWriterPass(raw_ostream &Str, /// /// Note that this is intended for use with the new pass manager. To construct /// a pass for the legacy pass manager, use the function above. -class BitcodeWriterPass { +class BitcodeWriterPass : public PassInfoMixin<BitcodeWriterPass> { raw_ostream &OS; bool ShouldPreserveUseListOrder; bool EmitSummaryIndex; @@ -68,8 +68,6 @@ public: /// \brief Run the bitcode writer pass, and output the module to the selected /// output stream. PreservedAnalyses run(Module &M, ModuleAnalysisManager &); - - static StringRef name() { return "BitcodeWriterPass"; } }; } |
