diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-23 00:01:04 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-23 00:01:04 +0000 |
commit | 7f8dff65717b1e4090ba4a648f9ec4f037a66c1e (patch) | |
tree | 449283f38fc9dde6bd4f6dfeb0b6ea1a8f5e98fe /lib/Target/Alpha | |
parent | be74029f44c32efc09274a16cbff588ad10dc5ea (diff) | |
download | llvm-7f8dff65717b1e4090ba4a648f9ec4f037a66c1e.tar.gz llvm-7f8dff65717b1e4090ba4a648f9ec4f037a66c1e.tar.bz2 llvm-7f8dff65717b1e4090ba4a648f9ec4f037a66c1e.tar.xz |
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/Alpha')
-rw-r--r-- | lib/Target/Alpha/MCTargetDesc/AlphaMCTargetDesc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/MCTargetDesc/AlphaMCTargetDesc.cpp b/lib/Target/Alpha/MCTargetDesc/AlphaMCTargetDesc.cpp index d6f3e90d73..a38023bcfd 100644 --- a/lib/Target/Alpha/MCTargetDesc/AlphaMCTargetDesc.cpp +++ b/lib/Target/Alpha/MCTargetDesc/AlphaMCTargetDesc.cpp @@ -49,8 +49,8 @@ static MCSubtargetInfo *createAlphaMCSubtargetInfo(StringRef TT, StringRef CPU, return X; } -MCCodeGenInfo *createAlphaMCCodeGenInfo(StringRef TT, Reloc::Model RM, - CodeModel::Model CM) { +static MCCodeGenInfo *createAlphaMCCodeGenInfo(StringRef TT, Reloc::Model RM, + CodeModel::Model CM) { MCCodeGenInfo *X = new MCCodeGenInfo(); X->InitMCCodeGenInfo(Reloc::PIC_, CM); return X; |