From 2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 12 Mar 2010 18:44:54 +0000 Subject: make the mangler take an MCContext instead of an MAI. No functionality change. llvm-svn: 98363 --- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 53e1fab0593..c5bf848edcb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -104,7 +104,7 @@ bool AsmPrinter::doInitialization(Module &M) { const_cast(getObjFileLowering()) .Initialize(OutContext, TM); - Mang = new Mangler(*MAI); + Mang = new Mangler(OutContext); // Allow the target to emit any magic that it wants at the start of the file. EmitStartOfAsmFile(M); -- cgit v1.2.3