diff options
| author | Nate Begeman <natebegeman@mac.com> | 2010-01-17 03:49:01 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2010-01-17 03:49:01 +0000 |
| commit | 660d979ad9eac1695d16ce239497349d3a133cd4 (patch) | |
| tree | 795251f8e752c15d5a02e6e8eb9c33347d12574d /llvm/lib/CodeGen | |
| parent | 3fbf36d0b44e5b96a7dc8bfbf172a0b968cc0535 (diff) | |
| download | bcm5719-llvm-660d979ad9eac1695d16ce239497349d3a133cd4.tar.gz bcm5719-llvm-660d979ad9eac1695d16ce239497349d3a133cd4.zip | |
Add a note for the macho streamer and remove a used of the mangler from the soon to be defunct machowriter pass.
llvm-svn: 93670
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachOWriter.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MachOWriter.cpp b/llvm/lib/CodeGen/MachOWriter.cpp index bd9c9ff29ea..e8bbe217b86 100644 --- a/llvm/lib/CodeGen/MachOWriter.cpp +++ b/llvm/lib/CodeGen/MachOWriter.cpp @@ -69,9 +69,6 @@ MachOWriter::~MachOWriter() { } bool MachOWriter::doInitialization(Module &M) { - Mang = new Mangler(M, MAI->getGlobalPrefix(), MAI->getPrivateGlobalPrefix(), - MAI->getLinkerPrivateGlobalPrefix()); - // Initialize TargetLoweringObjectFile. TM.getTargetLowering()->getObjFileLowering().Initialize(OutContext, TM); @@ -81,9 +78,6 @@ bool MachOWriter::doInitialization(Module &M) { /// doFinalization - Now that the module has been completely processed, emit /// the Mach-O file to 'O'. bool MachOWriter::doFinalization(Module &M) { - // Release the name mangler object. - delete Mang; Mang = 0; - OutStreamer.Finish(); return false; } |

