summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-12 18:44:54 +0000
committerChris Lattner <sabre@nondot.org>2010-03-12 18:44:54 +0000
commit2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef (patch)
tree2a455665a06e23818e8603f39f6167fba3abb048 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentf3cd665d5af66e336c542f04972fafb21865357b (diff)
downloadbcm5719-llvm-2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef.tar.gz
bcm5719-llvm-2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef.zip
make the mangler take an MCContext instead of an MAI.
No functionality change. llvm-svn: 98363
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
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<TargetLoweringObjectFile&>(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);
OpenPOWER on IntegriCloud