diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-17 18:22:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-17 18:22:35 +0000 |
commit | b4ffc894e6a6d7ddba73e8b3b8ffdeba546e33db (patch) | |
tree | 7d4f572b24b4b7f8143a9db3827cd9eda25d5165 /llvm/lib/CodeGen/ELFWriter.cpp | |
parent | 915ad96b401c51ccf2cecf9d4b6af777b7d445da (diff) | |
download | bcm5719-llvm-b4ffc894e6a6d7ddba73e8b3b8ffdeba546e33db.tar.gz bcm5719-llvm-b4ffc894e6a6d7ddba73e8b3b8ffdeba546e33db.zip |
now that mangler is in libtarget, it can use MCAsmInfo instead of clients
having to pass various fields from it in. Simplify.
llvm-svn: 93686
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ELFWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp index 7af0aefb734..d1920d0c2df 100644 --- a/llvm/lib/CodeGen/ELFWriter.cpp +++ b/llvm/lib/CodeGen/ELFWriter.cpp @@ -119,7 +119,7 @@ bool ELFWriter::doInitialization(Module &M) { // Initialize TargetLoweringObjectFile. const_cast<TargetLoweringObjectFile&>(TLOF).Initialize(OutContext, TM); - Mang = new Mangler(M); + Mang = new Mangler(*MAI); // ELF Header // ---------- |