mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
eliminate all forms of addPassesToEmitMachineCode except
the one used by the JIT. Remove all forms of addPassesToEmitFileFinish except the one used by the static code generator. Inline the remaining version of addPassesToEmitFileFinish into its only caller. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95109 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -405,12 +405,6 @@ bool LTOCodeGenerator::generateAssemblyCode(formatted_raw_ostream& out,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (_target->addPassesToEmitFileFinish(*codeGenPasses,(ObjectCodeEmitter*)0,
|
||||
CodeGenOpt::Aggressive)) {
|
||||
errMsg = "target does not support generation of this file type";
|
||||
return true;
|
||||
}
|
||||
|
||||
// Run our queue of passes all at once now, efficiently.
|
||||
passes.run(*mergedModule);
|
||||
|
||||
|
Reference in New Issue
Block a user