mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
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:
parent
aaca69b339
commit
5155a78d18
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user