diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-24 05:22:28 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-24 05:22:28 +0000 |
| commit | 64188561274f83f8dae78f9244fa6289441b2bff (patch) | |
| tree | 18709333a66a177456d5110f4635fd66b7466f51 /llvm/lib/Target/Hexagon | |
| parent | 25d51d66df3d49ec5c4e6cd1d2695518da4b0d2e (diff) | |
| download | bcm5719-llvm-64188561274f83f8dae78f9244fa6289441b2bff.tar.gz bcm5719-llvm-64188561274f83f8dae78f9244fa6289441b2bff.zip | |
Simplify the processFixupValue interface. NFC.
llvm-svn: 306202
Diffstat (limited to 'llvm/lib/Target/Hexagon')
| -rw-r--r-- | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp index 12ba9ee92ed..093ce80bc2e 100644 --- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp +++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp @@ -202,10 +202,8 @@ public: /// processFixupValue - Target hook to adjust the literal value of a fixup /// if necessary. IsResolved signals whether the caller believes a relocation /// is needed; the target can modify the value. The default does nothing. - void processFixupValue(const MCAssembler &Asm, const MCAsmLayout &Layout, - const MCFixup &Fixup, const MCFragment *DF, - const MCValue &Target, uint64_t &Value, - bool &IsResolved) override { + void processFixupValue(const MCAssembler &Asm, const MCFixup &Fixup, + const MCValue &Target, bool &IsResolved) override { MCFixupKind Kind = Fixup.getKind(); switch((unsigned)Kind) { |

