diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-27 20:41:17 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-27 20:41:17 +0000 |
commit | 0c0cd3a4ee0a9bf48b396b2c94bbd0504f2e0e57 (patch) | |
tree | 495ef110e38e257d7291e1662c800c116dcd0f4b /lib/Target/Sparc | |
parent | 63b11ef6d40b719d555c1398ca05b1f477ecfe39 (diff) | |
download | llvm-0c0cd3a4ee0a9bf48b396b2c94bbd0504f2e0e57.tar.gz llvm-0c0cd3a4ee0a9bf48b396b2c94bbd0504f2e0e57.tar.bz2 llvm-0c0cd3a4ee0a9bf48b396b2c94bbd0504f2e0e57.tar.xz |
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp b/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp index 3a9929bc4c..3ab878ab2c 100644 --- a/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp +++ b/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp @@ -28,9 +28,8 @@ namespace { virtual ~SparcELFObjectWriter() {} protected: - virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, - bool IsPCRel, bool IsRelocWithSymbol, - int64_t Addend) const; + unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, + bool IsPCRel, bool IsRelocWithSymbol) const override; virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm, const MCValue &Target, @@ -40,12 +39,9 @@ namespace { }; } - unsigned SparcELFObjectWriter::GetRelocType(const MCValue &Target, - const MCFixup &Fixup, - bool IsPCRel, - bool IsRelocWithSymbol, - int64_t Addend) const { + const MCFixup &Fixup, bool IsPCRel, + bool IsRelocWithSymbol) const { if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) { if (SExpr->getKind() == SparcMCExpr::VK_Sparc_R_DISP32) |