diff options
author | Jozef Kolek <jozef.kolek@imgtec.com> | 2015-01-20 19:29:28 +0000 |
---|---|---|
committer | Jozef Kolek <jozef.kolek@imgtec.com> | 2015-01-20 19:29:28 +0000 |
commit | 0d49117769ba90beb60a4eccf7ed755617b21936 (patch) | |
tree | fde00e0dea5efa3c1bdd18731dba914f89f6f1c6 /llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp | |
parent | 3a62216a8a4d4d8d3de0ba164645dbf8725088f3 (diff) | |
download | bcm5719-llvm-0d49117769ba90beb60a4eccf7ed755617b21936.tar.gz bcm5719-llvm-0d49117769ba90beb60a4eccf7ed755617b21936.zip |
Reverted revision 226577.
llvm-svn: 226595
Diffstat (limited to 'llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp index 37168bce707..da33f3b913c 100644 --- a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp +++ b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp @@ -235,13 +235,6 @@ static DecodeStatus DecodeBranchTarget7MM(MCInst &Inst, uint64_t Address, const void *Decoder); -// DecodeBranchTarget10MM - Decode microMIPS branch offset, which is -// shifted left by 1 bit. -static DecodeStatus DecodeBranchTarget10MM(MCInst &Inst, - unsigned Offset, - uint64_t Address, - const void *Decoder); - // DecodeBranchTargetMM - Decode microMIPS branch offset, which is // shifted left by 1 bit. static DecodeStatus DecodeBranchTargetMM(MCInst &Inst, @@ -1563,15 +1556,6 @@ static DecodeStatus DecodeBranchTarget7MM(MCInst &Inst, return MCDisassembler::Success; } -static DecodeStatus DecodeBranchTarget10MM(MCInst &Inst, - unsigned Offset, - uint64_t Address, - const void *Decoder) { - int32_t BranchOffset = SignExtend32<10>(Offset) << 1; - Inst.addOperand(MCOperand::CreateImm(BranchOffset)); - return MCDisassembler::Success; -} - static DecodeStatus DecodeBranchTargetMM(MCInst &Inst, unsigned Offset, uint64_t Address, |