mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Another LLVM fix for CodeGenFileType (#3242)
Due to: https://github.com/llvm/llvm-project/commit/0a1aa6cda2758b0926a95f87d39ffefb1cb90200
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user