summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-08 21:26:26 +0000
committerChris Lattner <sabre@nondot.org>2010-04-08 21:26:26 +0000
commit5418dd5fdaa218e6f83b289d0a7bbeaa908eddc1 (patch)
treee4b7466edc74fc90e1febcab62c776100ed6b6ce /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent75f82345c4a4411a1d59340def27a305959255e3 (diff)
downloadbcm5719-llvm-5418dd5fdaa218e6f83b289d0a7bbeaa908eddc1.tar.gz
bcm5719-llvm-5418dd5fdaa218e6f83b289d0a7bbeaa908eddc1.zip
move elf section uniquing to MCContext. Along the way
merge XCore's section into MCSectionELF llvm-svn: 100812
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 37687d24c23..63f865d40d3 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -705,7 +705,7 @@ bool AsmPrinter::doFinalization(Module &M) {
// to be executable. Some targets have a directive to declare this.
Function *InitTrampolineIntrinsic = M.getFunction("llvm.init.trampoline");
if (!InitTrampolineIntrinsic || InitTrampolineIntrinsic->use_empty())
- if (MCSection *S = MAI->getNonexecutableStackSection(OutContext))
+ if (const MCSection *S = MAI->getNonexecutableStackSection(OutContext))
OutStreamer.SwitchSection(S);
// Allow the target to emit any magic that it wants at the end of the file,
OpenPOWER on IntegriCloud