Remove unused argument.

llvm-svn: 120621
This commit is contained in:
Rafael Espindola 2010-12-01 22:48:11 +00:00
parent 75739045d3
commit 50fe5c5138
2 changed files with 3 additions and 4 deletions

View File

@ -717,7 +717,7 @@ private:
/// Compute the effective fragment size assuming it is layed out at the given
/// \arg SectionAddress and \arg FragmentOffset.
uint64_t ComputeFragmentSize(MCAsmLayout &Layout, const MCFragment &F,
uint64_t ComputeFragmentSize(const MCFragment &F,
uint64_t SectionAddress,
uint64_t FragmentOffset) const;

View File

@ -336,8 +336,7 @@ bool MCAssembler::EvaluateFixup(const MCObjectWriter &Writer,
return IsResolved;
}
uint64_t MCAssembler::ComputeFragmentSize(MCAsmLayout &Layout,
const MCFragment &F,
uint64_t MCAssembler::ComputeFragmentSize(const MCFragment &F,
uint64_t SectionAddress,
uint64_t FragmentOffset) const {
switch (F.getKind()) {
@ -410,7 +409,7 @@ void MCAsmLayout::LayoutFragment(MCFragment *F) {
// Compute fragment offset and size.
F->Offset = Address - StartAddress;
F->EffectiveSize = getAssembler().ComputeFragmentSize(*this, *F, StartAddress,
F->EffectiveSize = getAssembler().ComputeFragmentSize(*F, StartAddress,
F->Offset);
LastValidFragment = F;