Changes in directory llvm/lib/CodeGen:

MachOWriter.cpp updated: 1.18 -> 1.19
---
Log message:

Make ivars private and use getters. Have the MachOWriter return "Mach-O
Writer" for the pass name.


---
Diffs of the changes:  (+2 -2)

 MachOWriter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/MachOWriter.cpp
diff -u llvm/lib/CodeGen/MachOWriter.cpp:1.18 
llvm/lib/CodeGen/MachOWriter.cpp:1.19
--- llvm/lib/CodeGen/MachOWriter.cpp:1.18       Tue Jan 23 21:38:47 2007
+++ llvm/lib/CodeGen/MachOWriter.cpp    Wed Jan 24 01:13:56 2007
@@ -461,8 +461,8 @@
   OutputBuffer FHOut(FH, is64Bit, isLittleEndian);
 
   FHOut.outword(Header.magic);
-  FHOut.outword(TM.getMachOWriterInfo()->CPUType);
-  FHOut.outword(TM.getMachOWriterInfo()->CPUSubType);
+  FHOut.outword(TM.getMachOWriterInfo()->getCPUType());
+  FHOut.outword(TM.getMachOWriterInfo()->getCPUSubType());
   FHOut.outword(Header.filetype);
   FHOut.outword(Header.ncmds);
   FHOut.outword(Header.sizeofcmds);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to