mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c628c2617
commit
6566e0a55e
@ -717,7 +717,7 @@ private:
|
|||||||
|
|
||||||
/// Compute the effective fragment size assuming it is layed out at the given
|
/// Compute the effective fragment size assuming it is layed out at the given
|
||||||
/// \arg SectionAddress and \arg FragmentOffset.
|
/// \arg SectionAddress and \arg FragmentOffset.
|
||||||
uint64_t ComputeFragmentSize(MCAsmLayout &Layout, const MCFragment &F,
|
uint64_t ComputeFragmentSize(const MCFragment &F,
|
||||||
uint64_t SectionAddress,
|
uint64_t SectionAddress,
|
||||||
uint64_t FragmentOffset) const;
|
uint64_t FragmentOffset) const;
|
||||||
|
|
||||||
|
@ -336,8 +336,7 @@ bool MCAssembler::EvaluateFixup(const MCObjectWriter &Writer,
|
|||||||
return IsResolved;
|
return IsResolved;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t MCAssembler::ComputeFragmentSize(MCAsmLayout &Layout,
|
uint64_t MCAssembler::ComputeFragmentSize(const MCFragment &F,
|
||||||
const MCFragment &F,
|
|
||||||
uint64_t SectionAddress,
|
uint64_t SectionAddress,
|
||||||
uint64_t FragmentOffset) const {
|
uint64_t FragmentOffset) const {
|
||||||
switch (F.getKind()) {
|
switch (F.getKind()) {
|
||||||
@ -410,7 +409,7 @@ void MCAsmLayout::LayoutFragment(MCFragment *F) {
|
|||||||
|
|
||||||
// Compute fragment offset and size.
|
// Compute fragment offset and size.
|
||||||
F->Offset = Address - StartAddress;
|
F->Offset = Address - StartAddress;
|
||||||
F->EffectiveSize = getAssembler().ComputeFragmentSize(*this, *F, StartAddress,
|
F->EffectiveSize = getAssembler().ComputeFragmentSize(*F, StartAddress,
|
||||||
F->Offset);
|
F->Offset);
|
||||||
LastValidFragment = F;
|
LastValidFragment = F;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user