mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Unbreak SPARC backend: addPassesToJITCompile and
addPassesToEmitMachineCode now both take a FunctionPassManager. Factory methods for function passes now return type FunctionPass *. llvm-svn: 7835
This commit is contained in:
parent
23b5b5026b
commit
dbdd3c6717
@ -683,12 +683,12 @@ public:
|
||||
virtual const TargetOptInfo &getOptInfo() const { return optInfo; }
|
||||
|
||||
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
||||
virtual bool addPassesToJITCompile(PassManager &PM);
|
||||
virtual bool addPassesToEmitMachineCode(PassManager &PM,
|
||||
virtual bool addPassesToJITCompile(FunctionPassManager &PM);
|
||||
virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
|
||||
MachineCodeEmitter &MCE);
|
||||
|
||||
// getPrologEpilogInsertionPass - Inserts prolog/epilog code.
|
||||
Pass* getPrologEpilogInsertionPass();
|
||||
FunctionPass* getPrologEpilogInsertionPass();
|
||||
|
||||
// getFunctionAsmPrinterPass - Writes out machine code for a single function
|
||||
Pass* getFunctionAsmPrinterPass(std::ostream &Out);
|
||||
|
Loading…
Reference in New Issue
Block a user