mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
[ARM] Remove an unused function from the disassembler.
Pointed out by Joerg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191749 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5537013350
commit
441aeddd56
@ -323,8 +323,6 @@ static DecodeStatus DecodeVCVTD(MCInst &Inst, unsigned Insn,
|
||||
uint64_t Address, const void *Decoder);
|
||||
static DecodeStatus DecodeVCVTQ(MCInst &Inst, unsigned Insn,
|
||||
uint64_t Address, const void *Decoder);
|
||||
static DecodeStatus DecodeImm0_4(MCInst &Inst, unsigned Insn, uint64_t Address,
|
||||
const void *Decoder);
|
||||
|
||||
|
||||
static DecodeStatus DecodeThumbAddSpecialReg(MCInst &Inst, uint16_t Insn,
|
||||
@ -4921,15 +4919,6 @@ static DecodeStatus DecodeVCVTQ(MCInst &Inst, unsigned Insn,
|
||||
return S;
|
||||
}
|
||||
|
||||
static DecodeStatus DecodeImm0_4(MCInst &Inst, unsigned Insn, uint64_t Address,
|
||||
const void *Decoder)
|
||||
{
|
||||
unsigned Imm = fieldFromInstruction(Insn, 0, 3);
|
||||
if (Imm > 4) return MCDisassembler::Fail;
|
||||
Inst.addOperand(MCOperand::CreateImm(Imm));
|
||||
return MCDisassembler::Success;
|
||||
}
|
||||
|
||||
static DecodeStatus DecodeLDR(MCInst &Inst, unsigned Val,
|
||||
uint64_t Address, const void *Decoder) {
|
||||
DecodeStatus S = MCDisassembler::Success;
|
||||
|
Loading…
Reference in New Issue
Block a user