From 1abffc0b05368c199780d0c9e2d833351ecde02a Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Sat, 8 Oct 2022 03:28:27 +0200 Subject: [PATCH] PPCAnalyst: Remove unused variables in BlockStats. --- Source/Core/Core/PowerPC/PPCAnalyst.h | 2 -- Source/Core/DolphinQt/Debugger/JITWidget.cpp | 6 ------ 2 files changed, 8 deletions(-) diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.h b/Source/Core/Core/PowerPC/PPCAnalyst.h index 49ace63de7..283706ebc1 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.h +++ b/Source/Core/Core/PowerPC/PPCAnalyst.h @@ -81,8 +81,6 @@ struct CodeOp // 16B struct BlockStats { - bool isFirstBlockOfFunction; - bool isLastBlockOfFunction; int numCycles; }; diff --git a/Source/Core/DolphinQt/Debugger/JITWidget.cpp b/Source/Core/DolphinQt/Debugger/JITWidget.cpp index fdf426acfc..46e0eebfe1 100644 --- a/Source/Core/DolphinQt/Debugger/JITWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/JITWidget.cpp @@ -181,12 +181,6 @@ void JITWidget::Update() // Add stats to the end of the ppc box since it's generally the shortest. ppc_disasm << std::dec << std::endl; - // Add some generic analysis - if (st.isFirstBlockOfFunction) - ppc_disasm << "(first block of function)" << std::endl; - if (st.isLastBlockOfFunction) - ppc_disasm << "(last block of function)" << std::endl; - ppc_disasm << st.numCycles << " estimated cycles" << std::endl; ppc_disasm << "Num instr: PPC: " << code_block.m_num_instructions