commit | 7f8dff65717b1e4090ba4a648f9ec4f037a66c1e | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Sat Jul 23 00:01:04 2011 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Sat Jul 23 00:01:04 2011 +0000 |
tree | 449283f38fc9dde6bd4f6dfeb0b6ea1a8f5e98fe | |
parent | be74029f44c32efc09274a16cbff588ad10dc5ea [diff] [blame] |
createXXXMCCodeGenInfo should be static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135826 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ 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);