Another LLVM fix for CodeGenFileType (#3242)

Due to:

https://github.com/llvm/llvm-project/commit/0a1aa6cda2758b0926a95f87d39ffefb1cb90200
This commit is contained in:
Jon Ross-Perkins
2023-09-16 01:18:54 +00:00
committed by GitHub
parent f2b3a319af
commit d6f689ba07
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -46,11 +46,11 @@ auto CodeGen::Create(llvm::Module& module, llvm::StringRef target_triple,
}
auto CodeGen::EmitAssembly(llvm::raw_pwrite_stream& out) -> bool {
return EmitCode(out, llvm::CodeGenFileType::CGFT_AssemblyFile);
return EmitCode(out, llvm::CodeGenFileType::AssemblyFile);
}
auto CodeGen::EmitObject(llvm::raw_pwrite_stream& out) -> bool {
return EmitCode(out, llvm::CodeGenFileType::CGFT_ObjectFile);
return EmitCode(out, llvm::CodeGenFileType::ObjectFile);
}
auto CodeGen::EmitCode(llvm::raw_pwrite_stream& out,