Skip to content

Commit c36f94e

Browse files
committed
silly me forgot to save changes
1 parent 571f056 commit c36f94e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

llvm/include/llvm/MC/MCInstrAnalysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ class MCInstrAnalysis {
185185
/// Given an instruction that accesses a menory address, try to compute
186186
/// the target address. Return true success, and the address in Target.
187187
virtual bool evaluateInstruction(const MCInst &Inst, uint64_t Addr,
188-
uint64_t Size, uint64_t &Target,
189-
raw_ostream *TargetOS) const;
188+
uint64_t Size, uint64_t &Target
189+
) const;
190190

191191
/// Given an instruction tries to get the address of a memory operand. Returns
192192
/// the address on success.

llvm/lib/MC/MCInstrAnalysis.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ bool MCInstrAnalysis::evaluateBranch(const MCInst & /*Inst*/, uint64_t /*Addr*/,
3131
}
3232

3333
bool MCInstrAnalysis::evaluateInstruction(const MCInst &Inst, uint64_t Addr,
34-
uint64_t Size, uint64_t &Target,
35-
raw_ostream *TargetOS) const {
34+
uint64_t Size, uint64_t &Target
35+
) const {
3636
return false;
3737
}
3838

llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ class RISCVMCInstrAnalysis : public MCInstrAnalysis {
241241
}
242242

243243
bool evaluateInstruction(const MCInst &Inst, uint64_t Addr, uint64_t Size,
244-
uint64_t &Target,
245-
raw_ostream *TargetOS) const override {
244+
uint64_t &Target
245+
) const override {
246246
switch(Inst.getOpcode()) {
247247
default:
248248
return false;

llvm/tools/llvm-objdump/llvm-objdump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2327,7 +2327,7 @@ disassembleObject(ObjectFile &Obj, const ObjectFile &DbgObj,
23272327
DT->InstrAnalysis->evaluateBranch(Inst, SectionAddr + Index,
23282328
Size, Target) ||
23292329
DT->InstrAnalysis->evaluateInstruction(
2330-
Inst, SectionAddr + Index, Size, Target, TargetOS);
2330+
Inst, SectionAddr + Index, Size, Target);
23312331
if (!PrintTarget) {
23322332
if (std::optional<uint64_t> MaybeTarget =
23332333
DT->InstrAnalysis->evaluateMemoryOperandAddress(

0 commit comments

Comments
 (0)