mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
[MC] Remove an unused (and broken) variant of the setupForSymbolicDisassembly
method in MCDisassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b926af7274
commit
79300d8d9a
@ -117,11 +117,6 @@ public:
|
||||
void setSymbolizer(std::unique_ptr<MCSymbolizer> Symzer);
|
||||
|
||||
/// Sets up an external symbolizer that uses the C API callbacks.
|
||||
void setupForSymbolicDisassembly(LLVMOpInfoCallback GetOpInfo,
|
||||
LLVMSymbolLookupCallback SymbolLookUp,
|
||||
void *DisInfo,
|
||||
MCContext *Ctx,
|
||||
OwningPtr<MCRelocationInfo> &RelInfo);
|
||||
void setupForSymbolicDisassembly(LLVMOpInfoCallback GetOpInfo,
|
||||
LLVMSymbolLookupCallback SymbolLookUp,
|
||||
void *DisInfo,
|
||||
|
@ -30,14 +30,6 @@ void MCDisassembler::setupForSymbolicDisassembly(
|
||||
DisInfo));
|
||||
}
|
||||
|
||||
void MCDisassembler::setupForSymbolicDisassembly(
|
||||
LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp,
|
||||
void *DisInfo, MCContext *Ctx, OwningPtr<MCRelocationInfo> &RelInfo) {
|
||||
std::unique_ptr<MCRelocationInfo> MCRI;
|
||||
setupForSymbolicDisassembly(GetOpInfo, SymbolLookUp, DisInfo, Ctx, MCRI);
|
||||
RelInfo = std::move(MCRI);
|
||||
}
|
||||
|
||||
bool MCDisassembler::tryAddingSymbolicOperand(MCInst &Inst, int64_t Value,
|
||||
uint64_t Address, bool IsBranch,
|
||||
uint64_t Offset,
|
||||
|
Loading…
Reference in New Issue
Block a user