[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachOWriter.h
Bill Wendling
isanbard at gmail.com
Tue Jan 23 23:14:15 PST 2007
Changes in directory llvm/include/llvm/CodeGen:
MachOWriter.h updated: 1.15 -> 1.16
---
Log message:
Make ivars private and use getters. Have the MachOWriter return "Mach-O
Writer" for the pass name.
---
Diffs of the changes: (+4 -2)
MachOWriter.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/CodeGen/MachOWriter.h
diff -u llvm/include/llvm/CodeGen/MachOWriter.h:1.15 llvm/include/llvm/CodeGen/MachOWriter.h:1.16
--- llvm/include/llvm/CodeGen/MachOWriter.h:1.15 Tue Jan 23 21:37:18 2007
+++ llvm/include/llvm/CodeGen/MachOWriter.h Wed Jan 24 01:13:55 2007
@@ -85,11 +85,13 @@
MachineCodeEmitter &getMachineCodeEmitter() const {
return *(MachineCodeEmitter*)MCE;
}
+ virtual ~MachOWriter();
- ~MachOWriter();
+ virtual const char *getPassName() const {
+ return "Mach-O Writer";
+ }
typedef std::vector<unsigned char> DataBuffer;
-
protected:
MachOWriter(std::ostream &O, TargetMachine &TM);
More information about the llvm-commits
mailing list