[llvm-commits] CVS: llvm/lib/Target/Sparc/Sparc.cpp SparcV9CodeEmitter.cpp
Brian Gaeke
gaeke at niobe.cs.uiuc.edu
Thu Aug 14 01:06:01 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
Sparc.cpp updated: 1.75 -> 1.76
SparcV9CodeEmitter.cpp updated: 1.26 -> 1.27
---
Log message:
Unbreak SPARC backend: addPassesToJITCompile and
addPassesToEmitMachineCode now both take a FunctionPassManager.
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/Sparc.cpp
diff -u llvm/lib/Target/Sparc/Sparc.cpp:1.75 llvm/lib/Target/Sparc/Sparc.cpp:1.76
--- llvm/lib/Target/Sparc/Sparc.cpp:1.75 Tue Aug 12 21:38:16 2003
+++ llvm/lib/Target/Sparc/Sparc.cpp Thu Aug 14 01:04:59 2003
@@ -225,7 +225,7 @@
// 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(),
Index: llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp
diff -u llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.26 llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.27
--- llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.26 Wed Aug 6 17:19:18 2003
+++ llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp Thu Aug 14 01:04:59 2003
@@ -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));
More information about the llvm-commits
mailing list