[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h
Bill Wendling
isanbard at gmail.com
Tue Jan 23 23:14:18 PST 2007
Changes in directory llvm/lib/Target/PowerPC:
PPCMachOWriterInfo.h updated: 1.1 -> 1.2
---
Log message:
Make ivars private and use getters. Have the MachOWriter return "Mach-O
Writer" for the pass name.
---
Diffs of the changes: (+2 -5)
PPCMachOWriterInfo.h | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h
diff -u llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h:1.1 llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h:1.2
--- llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h:1.1 Tue Jan 23 21:36:05 2007
+++ llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h Wed Jan 24 01:13:56 2007
@@ -21,13 +21,10 @@
// Forward declarations
class PPCTargetMachine;
- struct PPCMachOWriterInfo : public TargetMachOWriterInfo {
+ class PPCMachOWriterInfo : public TargetMachOWriterInfo {
+ public:
PPCMachOWriterInfo(const PPCTargetMachine &TM);
virtual ~PPCMachOWriterInfo() {}
-
- virtual const char *getPassName() const {
- return "PowerPC Mach-O Writer";
- }
};
} // end llvm namespace
More information about the llvm-commits
mailing list