aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/MCTargetDesc
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-23 00:01:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-23 00:01:04 +0000
commit7f8dff65717b1e4090ba4a648f9ec4f037a66c1e (patch)
tree449283f38fc9dde6bd4f6dfeb0b6ea1a8f5e98fe /lib/Target/X86/MCTargetDesc
parentbe74029f44c32efc09274a16cbff588ad10dc5ea (diff)
downloadexternal_llvm-7f8dff65717b1e4090ba4a648f9ec4f037a66c1e.zip
external_llvm-7f8dff65717b1e4090ba4a648f9ec4f037a66c1e.tar.gz
external_llvm-7f8dff65717b1e4090ba4a648f9ec4f037a66c1e.tar.bz2
createXXXMCCodeGenInfo should be static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/MCTargetDesc')
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp b/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
index 471d439..75bdc50 100644
--- a/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
+++ b/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
@@ -314,8 +314,8 @@ static MCAsmInfo *createX86MCAsmInfo(const Target &T, StringRef TT) {
return MAI;
}
-MCCodeGenInfo *createX86MCCodeGenInfo(StringRef TT, Reloc::Model RM,
- CodeModel::Model CM) {
+static MCCodeGenInfo *createX86MCCodeGenInfo(StringRef TT, Reloc::Model RM,
+ CodeModel::Model CM) {
MCCodeGenInfo *X = new MCCodeGenInfo();
Triple T(TT);