From 433a56636b84e72eaa24417787656a8a56ad9cfc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 8 Apr 2018 21:31:19 -0400 Subject: [PATCH] PPCAnalyst: Move public interface above private interface --- Source/Core/Core/PowerPC/PPCAnalyst.h | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.h b/Source/Core/Core/PowerPC/PPCAnalyst.h index 564e73b9c4..ca286d8f4b 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.h +++ b/Source/Core/Core/PowerPC/PPCAnalyst.h @@ -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);