aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86COFFMachineModuleInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-12 19:48:03 +0000
committerChris Lattner <sabre@nondot.org>2010-03-12 19:48:03 +0000
commit3186446d620c5e6f9ee077e5392c332258a71fca (patch)
treead8ae0346d063b50f5c8e7b7d399ee70d87bda85 /lib/Target/X86/X86COFFMachineModuleInfo.h
parentf9b5bd0a49b3f697b130833cd6799b75e2af625d (diff)
downloadexternal_llvm-3186446d620c5e6f9ee077e5392c332258a71fca.zip
external_llvm-3186446d620c5e6f9ee077e5392c332258a71fca.tar.gz
external_llvm-3186446d620c5e6f9ee077e5392c332258a71fca.tar.bz2
minor tidying, only do work if a function is
actually X86_StdCall or X86_FastCall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86COFFMachineModuleInfo.h')
-rw-r--r--lib/Target/X86/X86COFFMachineModuleInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86COFFMachineModuleInfo.h b/lib/Target/X86/X86COFFMachineModuleInfo.h
index f43b5ce..d07f073 100644
--- a/lib/Target/X86/X86COFFMachineModuleInfo.h
+++ b/lib/Target/X86/X86COFFMachineModuleInfo.h
@@ -30,8 +30,8 @@ public:
X86COFFMachineModuleInfo(const MachineModuleInfo &) {}
virtual ~X86COFFMachineModuleInfo();
- void DecorateCygMingName(MCSymbol *&Name, MCContext &Ctx,
- const Function *F, const TargetData &TD);
+ MCSymbol *DecorateCygMingName(MCSymbol *Name, MCContext &Ctx,
+ const Function *F, const TargetData &TD);
void addExternalFunction(StringRef Name) {
CygMingStubs.insert(Name);