summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-18 00:59:24 +0000
committerChris Lattner <sabre@nondot.org>2010-01-18 00:59:24 +0000
commit8c21ffdcc60fe8489c5dd3a151ef026a90625bfc (patch)
treebd5e3f99474979135461a8730c74ae05ac48c183 /llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
parentc8f7717808df07c096107cb397a91e0772bca028 (diff)
downloadbcm5719-llvm-8c21ffdcc60fe8489c5dd3a151ef026a90625bfc.tar.gz
bcm5719-llvm-8c21ffdcc60fe8489c5dd3a151ef026a90625bfc.zip
Change CurrentFnSym to be a non-const pointer since asmprinter mutates it
as it emits code. Switch .globl directives to use OutStreamer instead of doing it textually (in x86) llvm-svn: 93700
Diffstat (limited to 'llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp b/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
index 07a1b381698..ea527955e37 100644
--- a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
+++ b/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
@@ -115,7 +115,7 @@ void X86COFFMachineModuleInfo::DecorateCygMingName(SmallVectorImpl<char> &Name,
/// DecorateCygMingName - Query FunctionInfoMap and use this information for
/// various name decorations for Cygwin and MingW.
-void X86COFFMachineModuleInfo::DecorateCygMingName(const MCSymbol *&Name,
+void X86COFFMachineModuleInfo::DecorateCygMingName(MCSymbol *&Name,
MCContext &Ctx,
const GlobalValue *GV,
const TargetData &TD) {
OpenPOWER on IntegriCloud