X86: Make helper functions static. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2015-03-20 21:07:30 +00:00
parent aaca69b339
commit 5155a78d18

View File

@ -73,8 +73,8 @@ static X86_64RelType getType64(unsigned Kind,
}
}
unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier,
X86_64RelType Type, bool IsPCRel) {
static unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier,
X86_64RelType Type, bool IsPCRel) {
switch (Modifier) {
default:
llvm_unreachable("Unimplemented");
@ -176,8 +176,8 @@ static X86_32RelType getType32(X86_64RelType T) {
}
}
unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,
X86_32RelType Type, bool IsPCRel) {
static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,
X86_32RelType Type, bool IsPCRel) {
switch (Modifier) {
default:
llvm_unreachable("Unimplemented");