[llvm] dc66897 - [Disassembler][AVR] Remove unused static functions
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 19:20:47 PDT 2022
Author: Ben Shi
Date: 2022-05-05T02:20:27Z
New Revision: dc66897d4cd54749725e4cc189a88933fe3593b1
URL: https://github.com/llvm/llvm-project/commit/dc66897d4cd54749725e4cc189a88933fe3593b1
DIFF: https://github.com/llvm/llvm-project/commit/dc66897d4cd54749725e4cc189a88933fe3593b1.diff
LOG: [Disassembler][AVR] Remove unused static functions
The unused static functions cause failures on some build machines.
Added:
Modified:
llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp b/llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp
index 20d1cf9c0d5cdd..8caf56099524aa 100644
--- a/llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp
+++ b/llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp
@@ -86,14 +86,6 @@ static DecodeStatus DecodeLD8RegisterClass(MCInst &Inst, unsigned RegNo,
return MCDisassembler::Success;
}
-static DecodeStatus DecodePTRREGSRegisterClass(MCInst &Inst, unsigned RegNo,
- uint64_t Address,
- const MCDisassembler *Decoder) {
- // Note: this function must be defined but does not seem to be called.
- assert(false && "unimplemented: PTRREGS register class");
- return MCDisassembler::Success;
-}
-
static DecodeStatus decodeFIOARr(MCInst &Inst, unsigned Insn, uint64_t Address,
const MCDisassembler *Decoder);
More information about the llvm-commits
mailing list