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 | 9ab380122ae408aa35c3cf02a1f513459bea7f67 (patch) | |
tree | 861d3f5855f5f38195cfb9a39e080f1d7c6f31a8 /llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp | |
parent | 0702d02b319405f4d70a381034e21c9c62a0cbc3 (diff) | |
download | bcm5719-llvm-9ab380122ae408aa35c3cf02a1f513459bea7f67.tar.gz bcm5719-llvm-9ab380122ae408aa35c3cf02a1f513459bea7f67.zip |
Remove unused argument.
llvm-svn: 204956
Diffstat (limited to 'llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp index ddc1379e340..6fa81ec91ad 100644 --- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp +++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp @@ -25,8 +25,7 @@ public: protected: // Override MCELFObjectTargetWriter. unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, - bool IsPCRel, bool IsRelocWithSymbol, - int64_t Addend) const override; + bool IsPCRel, bool IsRelocWithSymbol) const override; const MCSymbol *ExplicitRelSym(const MCAssembler &Asm, const MCValue &Target, const MCFragment &F, const MCFixup &Fixup, bool IsPCRel) const override; @@ -84,10 +83,8 @@ static unsigned getPLTReloc(unsigned Kind) { } unsigned SystemZObjectWriter::GetRelocType(const MCValue &Target, - const MCFixup &Fixup, - bool IsPCRel, - bool IsRelocWithSymbol, - int64_t Addend) const { + const MCFixup &Fixup, bool IsPCRel, + bool IsRelocWithSymbol) const { MCSymbolRefExpr::VariantKind Modifier = Fixup.getAccessVariant(); unsigned Kind = Fixup.getKind(); switch (Modifier) { |