mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
PPCAnalyst: Move public interface above private interface
This commit is contained in:
parent
9dbc760bb7
commit
433a56636b
@ -166,21 +166,6 @@ struct CodeBlock
|
||||
|
||||
class PPCAnalyzer
|
||||
{
|
||||
private:
|
||||
enum ReorderType
|
||||
{
|
||||
REORDER_CARRY,
|
||||
REORDER_CMP,
|
||||
REORDER_CROR
|
||||
};
|
||||
|
||||
void ReorderInstructionsCore(u32 instructions, CodeOp* code, bool reverse, ReorderType type);
|
||||
void ReorderInstructions(u32 instructions, CodeOp* code);
|
||||
void SetInstructionStats(CodeBlock* block, CodeOp* code, const GekkoOPInfo* opinfo, u32 index);
|
||||
|
||||
// Options
|
||||
u32 m_options;
|
||||
|
||||
public:
|
||||
enum AnalystOption
|
||||
{
|
||||
@ -226,6 +211,21 @@ public:
|
||||
void ClearOption(AnalystOption option) { m_options &= ~(option); }
|
||||
bool HasOption(AnalystOption option) const { return !!(m_options & option); }
|
||||
u32 Analyze(u32 address, CodeBlock* block, CodeBuffer* buffer, u32 blockSize);
|
||||
|
||||
private:
|
||||
enum ReorderType
|
||||
{
|
||||
REORDER_CARRY,
|
||||
REORDER_CMP,
|
||||
REORDER_CROR
|
||||
};
|
||||
|
||||
void ReorderInstructionsCore(u32 instructions, CodeOp* code, bool reverse, ReorderType type);
|
||||
void ReorderInstructions(u32 instructions, CodeOp* code);
|
||||
void SetInstructionStats(CodeBlock* block, CodeOp* code, const GekkoOPInfo* opinfo, u32 index);
|
||||
|
||||
// Options
|
||||
u32 m_options;
|
||||
};
|
||||
|
||||
void LogFunctionCall(u32 addr);
|
||||
|
Loading…
Reference in New Issue
Block a user