summaryrefslogtreecommitdiff
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
commit9c592681976f53b072cc4c26ac97fd471ceab937 (patch)
treead8ae0346d063b50f5c8e7b7d399ee70d87bda85 /lib/Target/X86/X86COFFMachineModuleInfo.h
parentc9747c05d1fc01678fb86b3bc4674656228269bc (diff)
downloadllvm-9c592681976f53b072cc4c26ac97fd471ceab937.tar.gz
llvm-9c592681976f53b072cc4c26ac97fd471ceab937.tar.bz2
llvm-9c592681976f53b072cc4c26ac97fd471ceab937.tar.xz
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 f43b5ce7cb..d07f073353 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);