1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +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:
Brian Gaeke 2003-08-14 06:04:29 +00:00
parent 23b5b5026b
commit dbdd3c6717

View File

@ -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);