diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-10-01 13:01:10 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-10-01 13:01:10 +0000 |
commit | 441aeddd56d000ff77460586961a523e41edd205 (patch) | |
tree | bb445ded8041f879aea38520b02e69f2f6b96fb7 | |
parent | 5537013350006f34ca74c3b6e4c0799e8219753e (diff) | |
download | external_llvm-441aeddd56d000ff77460586961a523e41edd205.zip external_llvm-441aeddd56d000ff77460586961a523e41edd205.tar.gz external_llvm-441aeddd56d000ff77460586961a523e41edd205.tar.bz2 |
[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
-rw-r--r-- | lib/Target/ARM/Disassembler/ARMDisassembler.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Target/ARM/Disassembler/ARMDisassembler.cpp b/lib/Target/ARM/Disassembler/ARMDisassembler.cpp index 7f53240..4872d73 100644 --- a/lib/Target/ARM/Disassembler/ARMDisassembler.cpp +++ b/lib/Target/ARM/Disassembler/ARMDisassembler.cpp @@ -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; |