From 06a03210afbec1d0ca657ec9e12394af57a3621a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 24 Jan 2007 07:13:56 +0000 Subject: Make ivars private and use getters. Have the MachOWriter return "Mach-O Writer" for the pass name. llvm-svn: 33483 --- llvm/lib/CodeGen/MachOWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/MachOWriter.cpp b/llvm/lib/CodeGen/MachOWriter.cpp index 70fe79bf687..bc54728f58b 100644 --- a/llvm/lib/CodeGen/MachOWriter.cpp +++ b/llvm/lib/CodeGen/MachOWriter.cpp @@ -461,8 +461,8 @@ void MachOWriter::EmitHeaderAndLoadCommands() { 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); -- cgit v1.2.3