Merge pull request #12019 from Dentomologist/gekkodisassembler_remove_unused_member_and_parameter

GekkoDisassembler: Remove unused member and parameters
This commit is contained in:
JosJuice 2023-07-28 20:02:19 +02:00 committed by GitHub
commit ed8911b204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 147 additions and 182 deletions

File diff suppressed because it is too large Load Diff

View File

@ -66,23 +66,21 @@ private:
static void bli(u32 in); static void bli(u32 in);
static void mcrf(u32 in, std::string_view suffix); static void mcrf(u32 in, std::string_view suffix);
static void crop(u32 in, std::string_view n1, std::string_view n2); static void crop(u32 in, std::string_view n1, std::string_view n2);
static void nooper(u32 in, std::string_view name, unsigned char dmode); static void nooper(u32 in, std::string_view name);
static void rlw(u32 in, std::string_view name, int i); static void rlw(u32 in, std::string_view name, int i);
static void ori(u32 in, std::string_view name); static void ori(u32 in, std::string_view name);
static void rld(u32 in, std::string_view name, int i); static void rld(u32 in, std::string_view name, int i);
static void cmp(u32 in); static void cmp(u32 in);
static void trap(u32 in, unsigned char dmode); static void trap(u32 in, unsigned char dmode);
static void dab(u32 in, std::string_view name, int mask, int smode, int chkoe, int chkrc, static void dab(u32 in, std::string_view name, int mask, int smode, int chkoe, int chkrc);
unsigned char dmode); static void rrn(u32 in, std::string_view name, int smode, int chkoe, int chkrc);
static void rrn(u32 in, std::string_view name, int smode, int chkoe, int chkrc,
unsigned char dmode);
static void mtcr(u32 in); static void mtcr(u32 in);
static void msr(u32 in, int smode); static void msr(u32 in, int smode);
static void mspr(u32 in, int smode); static void mspr(u32 in, int smode);
static void mtb(u32 in); static void mtb(u32 in);
static void sradi(u32 in); static void sradi(u32 in);
static void ldst(u32 in, std::string_view name, char reg, unsigned char dmode); static void ldst(u32 in, std::string_view name, char reg);
static void fdabc(u32 in, std::string_view name, int mask, unsigned char dmode); static void fdabc(u32 in, std::string_view name, int mask);
static void fmr(u32 in); static void fmr(u32 in);
static void fdab(u32 in, std::string_view name); static void fdab(u32 in, std::string_view name);
static void fcmp(u32 in, char c); static void fcmp(u32 in, char c);
@ -104,6 +102,5 @@ private:
static u32* m_iaddr; // Instruction.address., usually the same as instr static u32* m_iaddr; // Instruction.address., usually the same as instr
static std::string m_opcode; // Buffer for opcode, min. 10 chars. static std::string m_opcode; // Buffer for opcode, min. 10 chars.
static std::string m_operands; // Operand buffer, min. 24 chars. static std::string m_operands; // Operand buffer, min. 24 chars.
static unsigned char m_flags; // Additional flags
}; };
} // namespace Common } // namespace Common