mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
fixing style nit: move class static to global static
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
506e579aa0
commit
0c628c2617
@ -38,8 +38,27 @@ public:
|
||||
unsigned getPointerSize() const {
|
||||
return 4;
|
||||
}
|
||||
};
|
||||
} // end anonymous namespace
|
||||
|
||||
bool ARMAsmBackend::MayNeedRelaxation(const MCInst &Inst) const {
|
||||
// FIXME: Thumb targets, different move constant targets..
|
||||
return false;
|
||||
}
|
||||
|
||||
void ARMAsmBackend::RelaxInstruction(const MCInst &Inst, MCInst &Res) const {
|
||||
assert(0 && "ARMAsmBackend::RelaxInstruction() unimplemented");
|
||||
return;
|
||||
}
|
||||
|
||||
bool ARMAsmBackend::WriteNopData(uint64_t Count, MCObjectWriter *OW) const {
|
||||
// FIXME: Zero fill for now. That's not right, but at least will get the
|
||||
// section size right.
|
||||
for (uint64_t i = 0; i != Count; ++i)
|
||||
OW->Write8(0);
|
||||
return true;
|
||||
}
|
||||
|
||||
protected:
|
||||
static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
|
||||
switch (Kind) {
|
||||
default:
|
||||
@ -80,26 +99,6 @@ protected:
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
} // end anonymous namespace
|
||||
|
||||
bool ARMAsmBackend::MayNeedRelaxation(const MCInst &Inst) const {
|
||||
// FIXME: Thumb targets, different move constant targets..
|
||||
return false;
|
||||
}
|
||||
|
||||
void ARMAsmBackend::RelaxInstruction(const MCInst &Inst, MCInst &Res) const {
|
||||
assert(0 && "ARMAsmBackend::RelaxInstruction() unimplemented");
|
||||
return;
|
||||
}
|
||||
|
||||
bool ARMAsmBackend::WriteNopData(uint64_t Count, MCObjectWriter *OW) const {
|
||||
// FIXME: Zero fill for now. That's not right, but at least will get the
|
||||
// section size right.
|
||||
for (uint64_t i = 0; i != Count; ++i)
|
||||
OW->Write8(0);
|
||||
return true;
|
||||
}
|
||||
|
||||
namespace {
|
||||
// FIXME: This should be in a separate file.
|
||||
|
Loading…
Reference in New Issue
Block a user