mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Unbreak SPARC backend: addPassesToJITCompile and
addPassesToEmitMachineCode now both take a FunctionPassManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
277aad2655
commit
e69f72758b
@ -20,7 +20,7 @@
|
||||
#include "SparcInternals.h"
|
||||
#include "SparcV9CodeEmitter.h"
|
||||
|
||||
bool UltraSparc::addPassesToEmitMachineCode(PassManager &PM,
|
||||
bool UltraSparc::addPassesToEmitMachineCode(FunctionPassManager &PM,
|
||||
MachineCodeEmitter &MCE) {
|
||||
MachineCodeEmitter *M = &MCE;
|
||||
DEBUG(M = MachineCodeEmitter::createFilePrinterEmitter(MCE));
|
||||
|
@ -225,7 +225,7 @@ bool UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
|
||||
// addPassesToJITCompile - This method controls the JIT method of code
|
||||
// generation for the UltraSparc.
|
||||
//
|
||||
bool UltraSparc::addPassesToJITCompile(PassManager &PM) {
|
||||
bool UltraSparc::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
const TargetData &TD = getTargetData();
|
||||
|
||||
PM.add(new TargetData("lli", TD.isLittleEndian(), TD.getPointerSize(),
|
||||
|
Loading…
Reference in New Issue
Block a user