[llvm-commits] [llvm] r99217 - /llvm/trunk/lib/MC/MCAssembler.cpp
Daniel Dunbar
daniel at zuster.org
Mon Mar 22 14:49:38 PDT 2010
Author: ddunbar
Date: Mon Mar 22 16:49:38 2010
New Revision: 99217
URL: http://llvm.org/viewvc/llvm-project?rev=99217&view=rev
Log:
Simplify.
Modified:
llvm/trunk/lib/MC/MCAssembler.cpp
Modified: llvm/trunk/lib/MC/MCAssembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAssembler.cpp?rev=99217&r1=99216&r2=99217&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAssembler.cpp (original)
+++ llvm/trunk/lib/MC/MCAssembler.cpp Mon Mar 22 16:49:38 2010
@@ -104,7 +104,6 @@
static bool isScatteredFixupFullyResolvedSimple(const MCAssembler &Asm,
const MCAsmFixup &Fixup,
- const MCDataFragment *DF,
const MCValue Target,
const MCSection *BaseSection) {
// The effective fixup address is
@@ -142,7 +141,6 @@
static bool isScatteredFixupFullyResolved(const MCAssembler &Asm,
const MCAsmFixup &Fixup,
- const MCDataFragment *DF,
const MCValue Target,
const MCSymbolData *BaseSymbol) {
// The effective fixup address is
@@ -279,14 +277,14 @@
}
if (IsResolved)
- IsResolved = isScatteredFixupFullyResolved(*this, Fixup, DF, Target,
+ IsResolved = isScatteredFixupFullyResolved(*this, Fixup, Target,
BaseSymbol);
} else {
const MCSection *BaseSection = 0;
if (IsPCRel)
BaseSection = &DF->getParent()->getSection();
- IsResolved = isScatteredFixupFullyResolvedSimple(*this, Fixup, DF, Target,
+ IsResolved = isScatteredFixupFullyResolvedSimple(*this, Fixup, Target,
BaseSection);
}
}
More information about the llvm-commits
mailing list