diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/ParallelCG.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/ParallelCG.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/ParallelCG.cpp b/contrib/llvm-project/llvm/lib/CodeGen/ParallelCG.cpp index e4c73658cb4f..7dbd830666fb 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/ParallelCG.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/ParallelCG.cpp @@ -26,7 +26,7 @@ using namespace llvm;  static void codegen(Module *M, llvm::raw_pwrite_stream &OS,                      function_ref<std::unique_ptr<TargetMachine>()> TMFactory, -                    TargetMachine::CodeGenFileType FileType) { +                    CodeGenFileType FileType) {    std::unique_ptr<TargetMachine> TM = TMFactory();    legacy::PassManager CodeGenPasses;    if (TM->addPassesToEmitFile(CodeGenPasses, OS, nullptr, FileType)) @@ -38,7 +38,7 @@ std::unique_ptr<Module> llvm::splitCodeGen(      std::unique_ptr<Module> M, ArrayRef<llvm::raw_pwrite_stream *> OSs,      ArrayRef<llvm::raw_pwrite_stream *> BCOSs,      const std::function<std::unique_ptr<TargetMachine>()> &TMFactory, -    TargetMachine::CodeGenFileType FileType, bool PreserveLocals) { +    CodeGenFileType FileType, bool PreserveLocals) {    assert(BCOSs.empty() || BCOSs.size() == OSs.size());    if (OSs.size() == 1) {  | 
