Skip to content

Commit

Permalink
Unbreak SPARC backend: addPassesToJITCompile and
Browse files Browse the repository at this point in the history
 addPassesToEmitMachineCode now both take a FunctionPassManager.
Factory methods for function passes now return type FunctionPass *.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7835 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Brian Gaeke committed Aug 14, 2003
1 parent 0118995 commit d7d6bbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Target/SparcV9/SparcV9Internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -683,12 +683,12 @@ class UltraSparc : public TargetMachine {
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);
Expand Down

0 comments on commit d7d6bbe

Please sign in to comment.