[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInternals.h
Brian Gaeke
gaeke at niobe.cs.uiuc.edu
Thu Aug 14 01:05:01 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
SparcInternals.h updated: 1.97 -> 1.98
---
Log message:
Unbreak SPARC backend: addPassesToJITCompile and
addPassesToEmitMachineCode now both take a FunctionPassManager.
Factory methods for function passes now return type FunctionPass *.
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/SparcInternals.h
diff -u llvm/lib/Target/Sparc/SparcInternals.h:1.97 llvm/lib/Target/Sparc/SparcInternals.h:1.98
--- llvm/lib/Target/Sparc/SparcInternals.h:1.97 Tue Aug 12 21:38:16 2003
+++ llvm/lib/Target/Sparc/SparcInternals.h Thu Aug 14 01:04:29 2003
@@ -683,12 +683,12 @@
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);
More information about the llvm-commits
mailing list